mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-10 15:29:41 +00:00
Update php cs fixer to latest version 3.88.2 with fixes
This commit is contained in:
@@ -44,7 +44,7 @@ final readonly class PersonEditController
|
||||
* @ParamConverter("person", options={"id": "person_id"})
|
||||
*/
|
||||
#[Route(path: '/{_locale}/person/{person_id}/general/edit', name: 'chill_person_general_edit')]
|
||||
public function editAction(Person $person, Request $request, Session $session): \Symfony\Component\HttpFoundation\RedirectResponse|\Symfony\Component\HttpFoundation\Response
|
||||
public function editAction(Person $person, Request $request, Session $session): RedirectResponse|Response
|
||||
{
|
||||
if (!$this->security->isGranted(PersonVoter::UPDATE, $person)) {
|
||||
throw new AccessDeniedHttpException('You are not allowed to edit this person.');
|
||||
|
Reference in New Issue
Block a user