27
27
use Symfony \Component \Security \Core \Exception \LogoutException ;
28
28
use Symfony \Component \Security \Http \Authorization \AccessDeniedHandlerInterface ;
29
29
use Symfony \Component \Security \Http \Authorization \NotFullFledgedHandlerInterface ;
30
- use Symfony \Component \Security \Http \Authorization \SameAsNotFullFledgedHandle ;
30
+ use Symfony \Component \Security \Http \Authorization \SameAsNotFullFledgedHandler ;
31
31
use Symfony \Component \Security \Http \EntryPoint \AuthenticationEntryPointInterface ;
32
32
use Symfony \Component \Security \Http \Firewall \ExceptionListener ;
33
33
use Symfony \Component \Security \Http \HttpUtils ;
@@ -267,7 +267,7 @@ private function createEvent(\Exception $exception, $kernel = null)
267
267
return new ExceptionEvent ($ kernel , Request::create ('/ ' ), HttpKernelInterface::MAIN_REQUEST , $ exception );
268
268
}
269
269
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 )
271
271
{
272
272
return new ExceptionListener (
273
273
$ tokenStorage ?? $ this ->createMock (TokenStorageInterface::class),
@@ -279,15 +279,15 @@ private function createExceptionListener(?TokenStorageInterface $tokenStorage =
279
279
$ accessDeniedHandler ,
280
280
null ,
281
281
false ,
282
- $ notFullFledgedHandle ,
282
+ $ notFullFledgedHandler ,
283
283
);
284
284
}
285
285
286
286
private function createNotFullFledgedHandler (?Response $ response = null )
287
287
{
288
- $ entryPoint = $ this ->createMock (NotFullFledgedHandlerInterface::class);
289
- $ entryPoint ->method ('handle ' )->willReturn ($ response );
288
+ $ handler = $ this ->createMock (NotFullFledgedHandlerInterface::class);
289
+ $ handler ->method ('handle ' )->willReturn ($ response );
290
290
291
- return $ entryPoint ;
291
+ return $ handler ;
292
292
}
293
293
}
0 commit comments