mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
cs: Fix code-style (using PHPCSFixer and PHPCS).
This commit is contained in:
@@ -16,6 +16,7 @@ use Chill\MainBundle\Security\Resolver\CenterResolverDispatcherInterface;
|
||||
use Chill\PersonBundle\Entity\AccompanyingPeriod;
|
||||
use Chill\PersonBundle\Entity\Person;
|
||||
use Symfony\Component\Security\Core\Security;
|
||||
|
||||
use function count;
|
||||
|
||||
final class AccompanyingPeriodACLAwareRepository implements AccompanyingPeriodACLAwareRepositoryInterface
|
||||
|
@@ -17,6 +17,7 @@ use Doctrine\ORM\EntityManagerInterface;
|
||||
use Doctrine\ORM\EntityRepository;
|
||||
use Doctrine\ORM\Query\ResultSetMappingBuilder;
|
||||
use Doctrine\Persistence\ObjectRepository;
|
||||
|
||||
use function strtr;
|
||||
|
||||
final class HouseholdRepository implements ObjectRepository
|
||||
|
@@ -23,6 +23,7 @@ use Doctrine\ORM\EntityManagerInterface;
|
||||
use Doctrine\ORM\NonUniqueResultException;
|
||||
use Doctrine\ORM\Query;
|
||||
use Symfony\Component\Security\Core\Security;
|
||||
|
||||
use function array_fill;
|
||||
use function array_map;
|
||||
use function array_merge;
|
||||
@@ -316,7 +317,9 @@ final class PersonACLAwareRepository implements PersonACLAwareRepositoryInterfac
|
||||
),
|
||||
]
|
||||
),
|
||||
array_map(static function (Center $c) {return $c->getId(); }, $authorizedCenters)
|
||||
array_map(static function (Center $c) {
|
||||
return $c->getId();
|
||||
}, $authorizedCenters)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@@ -17,6 +17,7 @@ use Doctrine\ORM\EntityRepository;
|
||||
use Doctrine\ORM\QueryBuilder;
|
||||
use Doctrine\Persistence\ObjectRepository;
|
||||
use Exception;
|
||||
|
||||
use function count;
|
||||
use function in_array;
|
||||
use function str_replace;
|
||||
|
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/*
|
||||
* Chill is a software for social workers
|
||||
*
|
||||
|
Reference in New Issue
Block a user