before recipes:update
This commit is contained in:
@@ -46,7 +46,7 @@ class SecurityController extends AbstractController
|
||||
* @return mixed
|
||||
*/
|
||||
#[Route(path: '/logout', name: 'app_logout')]
|
||||
public function logout(): mixed
|
||||
public function logout(): never
|
||||
{
|
||||
throw new Exception(message: 'Logout should never be reached.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user