2727use Symfony \Component \Security \Core \Exception \LogoutException ;
2828use Symfony \Component \Security \Http \Authorization \AccessDeniedHandlerInterface ;
2929use Symfony \Component \Security \Http \Authorization \NotFullFledgedHandlerInterface ;
30- use Symfony \Component \Security \Http \Authorization \SameAsNotFullFledgedHandle ;
30+ use Symfony \Component \Security \Http \Authorization \SameAsNotFullFledgedHandler ;
3131use Symfony \Component \Security \Http \EntryPoint \AuthenticationEntryPointInterface ;
3232use Symfony \Component \Security \Http \Firewall \ExceptionListener ;
3333use Symfony \Component \Security \Http \HttpUtils ;
@@ -267,7 +267,7 @@ private function createEvent(\Exception $exception, $kernel = null)
267267 return new ExceptionEvent ($ kernel , Request::create ('/ ' ), HttpKernelInterface::MAIN_REQUEST , $ exception );
268268 }
269269
270- private function createExceptionListener (?TokenStorageInterface $ tokenStorage = null , ?AuthenticationTrustResolverInterface $ trustResolver = null , ?HttpUtils $ httpUtils = null , ?AuthenticationEntryPointInterface $ authenticationEntryPoint = null , $ errorPage = null , ?AccessDeniedHandlerInterface $ accessDeniedHandler = null , ?NotFullFledgedHandlerInterface $ notFullFledgedHandle = null )
270+ private function createExceptionListener (?TokenStorageInterface $ tokenStorage = null , ?AuthenticationTrustResolverInterface $ trustResolver = null , ?HttpUtils $ httpUtils = null , ?AuthenticationEntryPointInterface $ authenticationEntryPoint = null , $ errorPage = null , ?AccessDeniedHandlerInterface $ accessDeniedHandler = null , ?NotFullFledgedHandlerInterface $ notFullFledgedHandler = null )
271271 {
272272 return new ExceptionListener (
273273 $ tokenStorage ?? $ this ->createMock (TokenStorageInterface::class),
@@ -279,15 +279,15 @@ private function createExceptionListener(?TokenStorageInterface $tokenStorage =
279279 $ accessDeniedHandler ,
280280 null ,
281281 false ,
282- $ notFullFledgedHandle ,
282+ $ notFullFledgedHandler ,
283283 );
284284 }
285285
286286 private function createNotFullFledgedHandler (?Response $ response = null )
287287 {
288- $ entryPoint = $ this ->createMock (NotFullFledgedHandlerInterface::class);
289- $ entryPoint ->method ('handle ' )->willReturn ($ response );
288+ $ handler = $ this ->createMock (NotFullFledgedHandlerInterface::class);
289+ $ handler ->method ('handle ' )->willReturn ($ response );
290290
291- return $ entryPoint ;
291+ return $ handler ;
292292 }
293293}
0 commit comments