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

@@ -37,7 +37,7 @@ final class ThirdPartyController extends CRUDController
protected PaginatorFactory $paginatorFactory,
protected RequestStack $requestStack,
protected ThirdPartyACLAwareRepositoryInterface $thirdPartyACLAwareRepository,
ParameterBagInterface $parameterBag
ParameterBagInterface $parameterBag,
) {
$this->askCenter = $parameterBag->get('chill_main')['acl']['form_show_centers'];
}

View File

@@ -44,7 +44,7 @@ class ThirdPartyType extends AbstractType
protected ThirdPartyTypeManager $typesManager,
protected TranslatableStringHelper $translatableStringHelper,
protected EntityManagerInterface $om,
ParameterBagInterface $parameterBag
ParameterBagInterface $parameterBag,
) {
$this->askCenter = $parameterBag->get('chill_main')['acl']['form_show_centers'];
}

View File

@@ -55,7 +55,7 @@ class PickThirdPartyType extends AbstractType
EntityManagerInterface $em,
UrlGeneratorInterface $urlGenerator,
TranslatorInterface $translator,
ThirdPartyTypeManager $typesManager
ThirdPartyTypeManager $typesManager,
) {
$this->em = $em;
$this->urlGenerator = $urlGenerator;

View File

@@ -34,7 +34,7 @@ class MenuBuilder implements LocalMenuBuilderInterface
public function __construct(
AuthorizationCheckerInterface $authorizationChecker,
TranslatorInterface $translator
TranslatorInterface $translator,
) {
$this->authorizationChecker = $authorizationChecker;
$this->translator = $translator;

View File

@@ -39,7 +39,7 @@ final readonly class ThirdPartyACLAwareRepository implements ThirdPartyACLAwareR
public function countThirdParties(
string $role,
?string $filterString
?string $filterString,
): int {
$qb = $this->buildQuery($filterString);
$qb->select('count(tp)');
@@ -52,7 +52,7 @@ final readonly class ThirdPartyACLAwareRepository implements ThirdPartyACLAwareR
?string $filterString,
?array $orderBy = [],
?int $limit = null,
?int $offset = null
?int $offset = null,
): array {
$qb = $this->buildQuery($filterString);

View File

@@ -25,6 +25,6 @@ interface ThirdPartyACLAwareRepositoryInterface
?string $filterString,
?array $orderBy = [],
?int $limit = 0,
?int $offset = 50
?int $offset = 50,
): array;
}

View File

@@ -51,7 +51,7 @@ class ThirdPartySearch implements SearchInterface
TokenStorageInterface $tokenStorage,
AuthorizationHelper $authorizationHelper,
PaginatorFactory $paginatorFactory,
private readonly ThirdPartyRepository $thirdPartyRepository
private readonly ThirdPartyRepository $thirdPartyRepository,
) {
$this->em = $em;
$this->tokenStorage = $tokenStorage;