mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
DX php cs fixer
This commit is contained in:
parent
7bee376718
commit
66e1047752
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user