mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix cs
This commit is contained in:
parent
561d069a3e
commit
331443ae12
@ -64,7 +64,6 @@ class SocialWorkTypeFilter implements FilterInterface
|
||||
|
||||
$orX = $qb->expr()->orX();
|
||||
foreach ($data['goal'] as $goal) {
|
||||
|
||||
/** @var Goal $goal */
|
||||
$andX = $qb->expr()->andX();
|
||||
$andX->add($qb->expr()->eq('acpw_goal.goal', $goalId = ':goal_'.uniqid()));
|
||||
@ -73,7 +72,6 @@ class SocialWorkTypeFilter implements FilterInterface
|
||||
if (count($data['result']) > 0) {
|
||||
$orXResult = $qb->expr()->orX();
|
||||
foreach ($data['result'] as $result) {
|
||||
|
||||
/** @var Result $result */
|
||||
$orXResult->add($qb->expr()->isMemberOf($resultId = ':result_'.uniqid(), 'acpw_goal.results'));
|
||||
$qb->setParameter($resultId, $result);
|
||||
|
@ -2,6 +2,13 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/*
|
||||
* Chill is a software for social workers
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the LICENSE file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Chill\Migrations\Person;
|
||||
|
||||
use Doctrine\DBAL\Schema\Schema;
|
||||
|
Loading…
x
Reference in New Issue
Block a user