diff --git a/src/Bundle/ChillPersonBundle/Repository/AccompanyingPeriod/AccompanyingPeriodWorkRepository.php b/src/Bundle/ChillPersonBundle/Repository/AccompanyingPeriod/AccompanyingPeriodWorkRepository.php index 188694a49..8c177f67c 100644 --- a/src/Bundle/ChillPersonBundle/Repository/AccompanyingPeriod/AccompanyingPeriodWorkRepository.php +++ b/src/Bundle/ChillPersonBundle/Repository/AccompanyingPeriod/AccompanyingPeriodWorkRepository.php @@ -108,13 +108,11 @@ final class AccompanyingPeriodWorkRepository implements ObjectRepository // implement filters - if([] !== ($filters['types'] ?? [])) - { + if([] !== ($filters['types'] ?? [])) { $sql .= " AND w.socialaction_id IN (:types)"; } - if([] !== ($filters['user'] ?? [])) - { + if([] !== ($filters['user'] ?? [])) { $sql .= " AND rw.user_id = :user"; } @@ -156,8 +154,8 @@ final class AccompanyingPeriodWorkRepository implements ObjectRepository { $in = $this->em->createQueryBuilder(); $in - ->select('1') - ->from(AccompanyingPeriodWork::class, 'apw'); + ->select('1') + ->from(AccompanyingPeriodWork::class, 'apw'); $in->andWhere('apw.accompanyingPeriod = :period')->setParameter('period', $period);