mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-27 10:03:49 +00:00
PHP CS Fixer updated (3.63.1 -> v3.64.0)
This commit is contained in:
@@ -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'];
|
||||
}
|
||||
|
@@ -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'];
|
||||
}
|
||||
|
@@ -55,7 +55,7 @@ class PickThirdPartyType extends AbstractType
|
||||
EntityManagerInterface $em,
|
||||
UrlGeneratorInterface $urlGenerator,
|
||||
TranslatorInterface $translator,
|
||||
ThirdPartyTypeManager $typesManager
|
||||
ThirdPartyTypeManager $typesManager,
|
||||
) {
|
||||
$this->em = $em;
|
||||
$this->urlGenerator = $urlGenerator;
|
||||
|
@@ -34,7 +34,7 @@ class MenuBuilder implements LocalMenuBuilderInterface
|
||||
|
||||
public function __construct(
|
||||
AuthorizationCheckerInterface $authorizationChecker,
|
||||
TranslatorInterface $translator
|
||||
TranslatorInterface $translator,
|
||||
) {
|
||||
$this->authorizationChecker = $authorizationChecker;
|
||||
$this->translator = $translator;
|
||||
|
@@ -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);
|
||||
|
||||
|
@@ -25,6 +25,6 @@ interface ThirdPartyACLAwareRepositoryInterface
|
||||
?string $filterString,
|
||||
?array $orderBy = [],
|
||||
?int $limit = 0,
|
||||
?int $offset = 50
|
||||
?int $offset = 50,
|
||||
): array;
|
||||
}
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user