From 6de3d212807d57f9ff4a4daa639082279a40bc2f Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Mon, 18 Sep 2023 13:11:13 +0200 Subject: [PATCH] Add missing return type for Symfony 7 --- .../Bundle/SecurityBundle/Security/AuthenticationEntryPoint.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Sulu/Bundle/SecurityBundle/Security/AuthenticationEntryPoint.php b/src/Sulu/Bundle/SecurityBundle/Security/AuthenticationEntryPoint.php index 4b5b67da54b..e9be49d8c27 100644 --- a/src/Sulu/Bundle/SecurityBundle/Security/AuthenticationEntryPoint.php +++ b/src/Sulu/Bundle/SecurityBundle/Security/AuthenticationEntryPoint.php @@ -22,7 +22,7 @@ */ class AuthenticationEntryPoint implements AuthenticationEntryPointInterface { - public function start(Request $request, ?AuthenticationException $authException = null) + public function start(Request $request, ?AuthenticationException $authException = null): Response { return new Response('', 401); }