Fix cs and phpstan issues

This commit is contained in:
2025-05-21 15:07:21 +02:00
parent d60312d4a2
commit 3969e12633
4 changed files with 11 additions and 12 deletions

View File

@@ -42,6 +42,7 @@ use Symfony\Component\HttpFoundation\StreamedResponse;
use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException;
use Symfony\Component\Security\Core\Security;
use Symfony\Component\Serializer\Exception\ExceptionInterface;
use Symfony\Component\Serializer\Serializer;
use Symfony\Component\Serializer\SerializerInterface;
use Symfony\Contracts\Translation\TranslatorInterface;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
@@ -62,7 +63,7 @@ final class EventController extends AbstractController
private readonly PaginatorFactory $paginator,
private readonly Security $security,
private readonly ManagerRegistry $managerRegistry,
private readonly SerializerInterface $serializer,
private readonly Serializer $serializer,
) {}
#[\Symfony\Component\Routing\Annotation\Route(path: '/{_locale}/event/event/{event_id}/delete', name: 'chill_event__event_delete', requirements: ['event_id' => '\d+'], methods: ['GET', 'POST', 'DELETE'])]
@@ -217,9 +218,6 @@ final class EventController extends AbstractController
]);
}
/**
* First step of new Event form.
*/
#[\Symfony\Component\Routing\Annotation\Route(path: '/{_locale}/event/event/new/pick-center', name: 'chill_event__event_new_pickcenter', options: [null])]
public function newPickCenterAction(): Response
{