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

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