apply rector rules after updating the code with master branch

This commit is contained in:
Julien Fastré 2023-07-19 23:43:26 +02:00
parent e45430f0c9
commit aa553db659
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB
8 changed files with 12 additions and 10 deletions

View File

@ -34,7 +34,7 @@ use UnexpectedValueException;
final readonly class CalendarDocController
{
public function __construct(
private EngineInterface $engine,
private \Twig\Environment $engine,
private EntityManagerInterface $entityManager,
private FormFactoryInterface $formFactory,
private Security $security,

View File

@ -126,10 +126,11 @@ services:
chill.custom_field.custom_field_long_choice:
class: Chill\CustomFieldsBundle\CustomFields\CustomFieldLongChoice
autowire: true
autoconfigure: true
arguments:
- "@chill.custom_field.custom_field_long_choice_option_repository"
- "@chill.main.helper.translatable_string"
- "@templating"
tags:
- { name: 'chill.custom_field', type: 'long_choice' }

View File

@ -30,7 +30,7 @@ final readonly class GenericDocForAccompanyingPeriodController
private Manager $manager,
private PaginatorFactory $paginator,
private Security $security,
private EngineInterface $twig,
private \Twig\Environment $twig,
) {
}

View File

@ -29,7 +29,7 @@ final readonly class GenericDocForPerson
private Manager $manager,
private PaginatorFactory $paginator,
private Security $security,
private EngineInterface $twig,
private \Twig\Environment $twig,
) {
}

View File

@ -45,7 +45,7 @@ class EventSearch extends AbstractSearch
private readonly Security $security,
private readonly EventRepository $er,
private readonly AuthorizationHelper $authorizationHelper,
private readonly TemplatingEngine $templating,
private readonly \Twig\Environment $templating,
private readonly PaginatorFactory $paginationFactory
) {
}

View File

@ -24,6 +24,7 @@ class PasswordRecoverEvent extends Event
/**
* @param bool $safelyGenerated true if generated safely (from console command, etc.)
* @param null|mixed $ip
*/
public function __construct(
private readonly ?string $token = null,