PHP CS Fixer updated (3.63.1 -> v3.64.0)

This commit is contained in:
2024-09-04 14:38:56 +02:00
parent 063bc2857f
commit 313fb9ffdf
302 changed files with 391 additions and 391 deletions

View File

@@ -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

View File

@@ -41,7 +41,7 @@ interface AccompanyingPeriodACLAwareRepositoryInterface
string $role,
?array $orderBy = [],
?int $limit = null,
?int $offset = null
?int $offset = null,
): array;
/**

View File

@@ -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);

View File

@@ -24,6 +24,6 @@ interface HouseholdACLAwareRepositoryInterface
public function findByAddressReference(
AddressReference $addressReference,
?int $firstResult = 0,
?int $maxResult = 50
?int $maxResult = 50,
): array;
}

View File

@@ -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,

View File

@@ -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;
}

View File

@@ -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');