Fix cs with php-cs-fier version 3.49

This commit is contained in:
2024-02-08 21:12:27 +01:00
parent 8e65ad9476
commit 2ed42e1a2c
11 changed files with 24 additions and 17 deletions

View File

@@ -57,7 +57,8 @@ final class EventController extends AbstractController
private readonly TranslatorInterface $translator,
private readonly PaginatorFactory $paginator,
private readonly Security $security,
) {}
) {
}
/**
* @\Symfony\Component\Routing\Annotation\Route(path="/{_locale}/event/event/{event_id}/delete", name="chill_event__event_delete", requirements={"event_id"="\d+"}, methods={"GET", "DELETE"})

View File

@@ -40,7 +40,8 @@ final readonly class EventListController
private PaginatorFactoryInterface $paginatorFactory,
private TranslatableStringHelperInterface $translatableStringHelper,
private UrlGeneratorInterface $urlGenerator,
) {}
) {
}
/**
* @Route("{_locale}/event/event/list", name="chill_event_event_list")

View File

@@ -41,7 +41,8 @@ final class ParticipationController extends AbstractController
private readonly TranslatorInterface $translator,
private readonly EventRepository $eventRepository,
private readonly PersonRepository $personRepository,
) {}
) {
}
/**
* @\Symfony\Component\Routing\Annotation\Route(path="/{_locale}/event/participation/create", name="chill_event_participation_create")
@@ -328,7 +329,7 @@ final class ParticipationController extends AbstractController
*/
public function editMultipleAction($event_id): Response|\Symfony\Component\HttpFoundation\RedirectResponse
{
$event = $this->getDoctrine()->getRepository(\Chill\EventBundle\Entity\Event::class)
$event = $this->getDoctrine()->getRepository(Event::class)
->find($event_id);
if (null === $event) {