mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-01 12:33:49 +00:00
PHP CS Fixer updated (3.63.1 -> v3.64.0)
This commit is contained in:
@@ -39,7 +39,7 @@ final readonly class AccompanyingPeriodACLAwareRepository implements Accompanyin
|
||||
private AccompanyingPeriodRepository $accompanyingPeriodRepository,
|
||||
private Security $security,
|
||||
private AuthorizationHelperForCurrentUserInterface $authorizationHelper,
|
||||
private CenterResolverManagerInterface $centerResolver
|
||||
private CenterResolverManagerInterface $centerResolver,
|
||||
) {}
|
||||
|
||||
public function buildQueryOpenedAccompanyingCourseByUserAndPostalCodes(?User $user, array $postalCodes = []): QueryBuilder
|
||||
@@ -108,7 +108,7 @@ final readonly class AccompanyingPeriodACLAwareRepository implements Accompanyin
|
||||
string $role,
|
||||
?array $orderBy = [],
|
||||
?int $limit = null,
|
||||
?int $offset = null
|
||||
?int $offset = null,
|
||||
): array {
|
||||
$qb = $this->accompanyingPeriodRepository->createQueryBuilder('ap');
|
||||
$scopes = $this->authorizationHelper
|
||||
|
@@ -41,7 +41,7 @@ interface AccompanyingPeriodACLAwareRepositoryInterface
|
||||
string $role,
|
||||
?array $orderBy = [],
|
||||
?int $limit = null,
|
||||
?int $offset = null
|
||||
?int $offset = null,
|
||||
): array;
|
||||
|
||||
/**
|
||||
|
@@ -85,7 +85,7 @@ final readonly class HouseholdACLAwareRepository implements HouseholdACLAwareRep
|
||||
public function findByAddressReference(
|
||||
AddressReference $addressReference,
|
||||
?int $firstResult = 0,
|
||||
?int $maxResult = 50
|
||||
?int $maxResult = 50,
|
||||
): array {
|
||||
$qb = $this->buildQueryByAddressReference($addressReference);
|
||||
$qb = $this->addACL($qb);
|
||||
|
@@ -24,6 +24,6 @@ interface HouseholdACLAwareRepositoryInterface
|
||||
public function findByAddressReference(
|
||||
AddressReference $addressReference,
|
||||
?int $firstResult = 0,
|
||||
?int $maxResult = 50
|
||||
?int $maxResult = 50,
|
||||
): array;
|
||||
}
|
||||
|
@@ -37,7 +37,7 @@ final readonly class PersonACLAwareRepository implements PersonACLAwareRepositor
|
||||
?string $gender = null,
|
||||
?string $countryCode = null,
|
||||
?string $phonenumber = null,
|
||||
?string $city = null
|
||||
?string $city = null,
|
||||
): SearchApiQuery {
|
||||
$query = $this->createSearchQuery(
|
||||
$default,
|
||||
@@ -65,7 +65,7 @@ final readonly class PersonACLAwareRepository implements PersonACLAwareRepositor
|
||||
?string $gender = null,
|
||||
?string $countryCode = null,
|
||||
?string $phonenumber = null,
|
||||
?string $city = null
|
||||
?string $city = null,
|
||||
): int {
|
||||
$query = $this->buildAuthorizedQuery(
|
||||
$default,
|
||||
@@ -99,7 +99,7 @@ final readonly class PersonACLAwareRepository implements PersonACLAwareRepositor
|
||||
?string $gender = null,
|
||||
?string $countryCode = null,
|
||||
?string $phonenumber = null,
|
||||
?string $city = null
|
||||
?string $city = null,
|
||||
): SearchApiQuery {
|
||||
$query = new SearchApiQuery();
|
||||
$query
|
||||
@@ -256,7 +256,7 @@ final readonly class PersonACLAwareRepository implements PersonACLAwareRepositor
|
||||
?string $gender = null,
|
||||
?string $countryCode = null,
|
||||
?string $phonenumber = null,
|
||||
?string $city = null
|
||||
?string $city = null,
|
||||
): array {
|
||||
$query = $this->buildAuthorizedQuery(
|
||||
$default,
|
||||
|
@@ -26,7 +26,7 @@ interface PersonACLAwareRepositoryInterface
|
||||
?string $gender = null,
|
||||
?string $countryCode = null,
|
||||
?string $phonenumber = null,
|
||||
?string $city = null
|
||||
?string $city = null,
|
||||
): SearchApiQuery;
|
||||
|
||||
public function countBySearchCriteria(
|
||||
@@ -39,7 +39,7 @@ interface PersonACLAwareRepositoryInterface
|
||||
?string $gender = null,
|
||||
?string $countryCode = null,
|
||||
?string $phonenumber = null,
|
||||
?string $city = null
|
||||
?string $city = null,
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -58,6 +58,6 @@ interface PersonACLAwareRepositoryInterface
|
||||
?string $gender = null,
|
||||
?string $countryCode = null,
|
||||
?string $phonenumber = null,
|
||||
?string $city = null
|
||||
?string $city = null,
|
||||
): array;
|
||||
}
|
||||
|
@@ -33,7 +33,7 @@ class PersonRepository implements ObjectRepository
|
||||
public function countByPhone(
|
||||
string $phonenumber,
|
||||
$centers,
|
||||
array $only = ['mobile', 'phone']
|
||||
array $only = ['mobile', 'phone'],
|
||||
): int {
|
||||
$qb = $this->repository->createQueryBuilder('p');
|
||||
$qb->select('COUNT(p)');
|
||||
@@ -77,7 +77,7 @@ class PersonRepository implements ObjectRepository
|
||||
$centers,
|
||||
$firstResult,
|
||||
$maxResults,
|
||||
array $only = ['mobile', 'phone']
|
||||
array $only = ['mobile', 'phone'],
|
||||
) {
|
||||
$qb = $this->repository->createQueryBuilder('p');
|
||||
$qb->select('p');
|
||||
|
Reference in New Issue
Block a user