diff --git a/security/access_denied_handler.rst b/security/access_denied_handler.rst index 1f36a86b52e..745c68da79d 100644 --- a/security/access_denied_handler.rst +++ b/security/access_denied_handler.rst @@ -34,7 +34,7 @@ unauthenticated user tries to access a protected resource:: class AuthenticationEntryPoint implements AuthenticationEntryPointInterface { public function __construct( - UrlGeneratorInterface $urlGenerator, + private UrlGeneratorInterface $urlGenerator, ) { }