mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-01 12:33:49 +00:00
php cs fixes after updating php cs fixer
This commit is contained in:
@@ -40,7 +40,8 @@ final readonly class AccompanyingPeriodACLAwareRepository implements Accompanyin
|
||||
private Security $security,
|
||||
private AuthorizationHelperForCurrentUserInterface $authorizationHelper,
|
||||
private CenterResolverManagerInterface $centerResolver
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
public function buildQueryOpenedAccompanyingCourseByUserAndPostalCodes(?User $user, array $postalCodes = []): QueryBuilder
|
||||
{
|
||||
|
@@ -21,7 +21,9 @@ use Symfony\Component\Security\Core\Security;
|
||||
|
||||
final readonly class HouseholdACLAwareRepository implements HouseholdACLAwareRepositoryInterface
|
||||
{
|
||||
public function __construct(private EntityManagerInterface $em, private AuthorizationHelper $authorizationHelper, private Security $security) {}
|
||||
public function __construct(private EntityManagerInterface $em, private AuthorizationHelper $authorizationHelper, private Security $security)
|
||||
{
|
||||
}
|
||||
|
||||
public function addACL(QueryBuilder $qb, string $alias = 'h'): QueryBuilder
|
||||
{
|
||||
|
@@ -13,4 +13,6 @@ namespace Chill\PersonBundle\Repository\Person;
|
||||
|
||||
use Doctrine\Persistence\ObjectRepository;
|
||||
|
||||
interface PersonCenterHistoryInterface extends ObjectRepository {}
|
||||
interface PersonCenterHistoryInterface extends ObjectRepository
|
||||
{
|
||||
}
|
||||
|
@@ -25,7 +25,9 @@ use Symfony\Component\Security\Core\Security;
|
||||
|
||||
final readonly class PersonACLAwareRepository implements PersonACLAwareRepositoryInterface
|
||||
{
|
||||
public function __construct(private Security $security, private EntityManagerInterface $em, private CountryRepository $countryRepository, private AuthorizationHelperInterface $authorizationHelper) {}
|
||||
public function __construct(private Security $security, private EntityManagerInterface $em, private CountryRepository $countryRepository, private AuthorizationHelperInterface $authorizationHelper)
|
||||
{
|
||||
}
|
||||
|
||||
public function buildAuthorizedQuery(
|
||||
string $default = null,
|
||||
|
Reference in New Issue
Block a user