mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-10 15:29:41 +00:00
Remove no longer used annotation use statements and replace with attribute use statements
This commit is contained in:
@@ -453,7 +453,7 @@ final class ParticipationController extends AbstractController
|
||||
}
|
||||
|
||||
#[\Symfony\Component\Routing\Attribute\Route(path: '/{_locale}/event/participation/{event_id}/update_multiple', name: 'chill_event_participation_update_multiple', methods: ['POST'])]
|
||||
public function updateMultipleAction(mixed $event_id, Request $request): \Symfony\Component\HttpFoundation\RedirectResponse|\Symfony\Component\HttpFoundation\Response
|
||||
public function updateMultipleAction(mixed $event_id, Request $request): \Symfony\Component\HttpFoundation\RedirectResponse|Response
|
||||
{
|
||||
/** @var Event $event */
|
||||
$event = $this->managerRegistry->getRepository(Event::class)
|
||||
@@ -686,10 +686,8 @@ final class ParticipationController extends AbstractController
|
||||
|
||||
/**
|
||||
* Show a form with single participation.
|
||||
*
|
||||
* @return Response
|
||||
*/
|
||||
protected function newSingle(Request $request): \Symfony\Component\HttpFoundation\Response
|
||||
protected function newSingle(Request $request): Response
|
||||
{
|
||||
$returnPath = $request->query->has('return_path') ?
|
||||
$request->query->get('return_path') : null;
|
||||
@@ -744,10 +742,7 @@ final class ParticipationController extends AbstractController
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return FormInterface
|
||||
*/
|
||||
private function createDeleteForm($participation_id): \Symfony\Component\Form\FormInterface
|
||||
private function createDeleteForm($participation_id): FormInterface
|
||||
{
|
||||
return $this->createFormBuilder()
|
||||
->setAction($this->generateUrl('chill_event_participation_delete', [
|
||||
|
Reference in New Issue
Block a user