diff --git a/AccessMap.php b/AccessMap.php index 0abaeb06..70142878 100644 --- a/AccessMap.php +++ b/AccessMap.php @@ -33,9 +33,6 @@ public function add(RequestMatcherInterface $requestMatcher, array $attributes = $this->map[] = [$requestMatcher, $attributes, $channel]; } - /** - * {@inheritdoc} - */ public function getPatterns(Request $request): array { foreach ($this->map as $elements) { diff --git a/Authentication/CustomAuthenticationFailureHandler.php b/Authentication/CustomAuthenticationFailureHandler.php index 7046acda..8fc4ba30 100644 --- a/Authentication/CustomAuthenticationFailureHandler.php +++ b/Authentication/CustomAuthenticationFailureHandler.php @@ -33,9 +33,6 @@ public function __construct(AuthenticationFailureHandlerInterface $handler, arra } } - /** - * {@inheritdoc} - */ public function onAuthenticationFailure(Request $request, AuthenticationException $exception): Response { return $this->handler->onAuthenticationFailure($request, $exception); diff --git a/Authentication/CustomAuthenticationSuccessHandler.php b/Authentication/CustomAuthenticationSuccessHandler.php index 86d32efe..5340b9ec 100644 --- a/Authentication/CustomAuthenticationSuccessHandler.php +++ b/Authentication/CustomAuthenticationSuccessHandler.php @@ -37,9 +37,6 @@ public function __construct(AuthenticationSuccessHandlerInterface $handler, arra } } - /** - * {@inheritdoc} - */ public function onAuthenticationSuccess(Request $request, TokenInterface $token): Response { return $this->handler->onAuthenticationSuccess($request, $token); diff --git a/Authentication/DefaultAuthenticationFailureHandler.php b/Authentication/DefaultAuthenticationFailureHandler.php index f7537e0c..6903005b 100644 --- a/Authentication/DefaultAuthenticationFailureHandler.php +++ b/Authentication/DefaultAuthenticationFailureHandler.php @@ -64,9 +64,6 @@ public function setOptions(array $options) $this->options = array_merge($this->defaultOptions, $options); } - /** - * {@inheritdoc} - */ public function onAuthenticationFailure(Request $request, AuthenticationException $exception): Response { $options = $this->options; diff --git a/Authentication/DefaultAuthenticationSuccessHandler.php b/Authentication/DefaultAuthenticationSuccessHandler.php index 734c650d..a6eeffcd 100644 --- a/Authentication/DefaultAuthenticationSuccessHandler.php +++ b/Authentication/DefaultAuthenticationSuccessHandler.php @@ -52,9 +52,6 @@ public function __construct(HttpUtils $httpUtils, array $options = [], LoggerInt $this->setOptions($options); } - /** - * {@inheritdoc} - */ public function onAuthenticationSuccess(Request $request, TokenInterface $token): Response { return $this->httpUtils->createRedirectResponse($request, $this->determineTargetUrl($request)); diff --git a/Authenticator/AbstractLoginFormAuthenticator.php b/Authenticator/AbstractLoginFormAuthenticator.php index 18670f75..efdeb470 100644 --- a/Authenticator/AbstractLoginFormAuthenticator.php +++ b/Authenticator/AbstractLoginFormAuthenticator.php @@ -31,8 +31,6 @@ abstract class AbstractLoginFormAuthenticator extends AbstractAuthenticator impl abstract protected function getLoginUrl(Request $request): string; /** - * {@inheritdoc} - * * Override to change the request conditions that have to be * matched in order to handle the login form submit. * diff --git a/Authenticator/Token/PostAuthenticationToken.php b/Authenticator/Token/PostAuthenticationToken.php index 633f719e..5421301e 100644 --- a/Authenticator/Token/PostAuthenticationToken.php +++ b/Authenticator/Token/PostAuthenticationToken.php @@ -44,8 +44,6 @@ public function __construct(UserInterface $user, string $firewallName, array $ro /** * This is meant to be only a token, where credentials * have already been used and are thus cleared. - * - * {@inheritdoc} */ public function getCredentials(): mixed { @@ -57,17 +55,11 @@ public function getFirewallName(): string return $this->firewallName; } - /** - * {@inheritdoc} - */ public function __serialize(): array { return [$this->firewallName, parent::__serialize()]; } - /** - * {@inheritdoc} - */ public function __unserialize(array $data): void { [$this->firewallName, $parentData] = $data; diff --git a/Event/LazyResponseEvent.php b/Event/LazyResponseEvent.php index 73049c28..46a25eed 100644 --- a/Event/LazyResponseEvent.php +++ b/Event/LazyResponseEvent.php @@ -31,9 +31,6 @@ public function __construct(parent $event) $this->event = $event; } - /** - * {@inheritdoc} - */ public function setResponse(Response $response) { $this->stopPropagation(); @@ -42,33 +39,21 @@ public function setResponse(Response $response) throw new LazyResponseException($response); } - /** - * {@inheritdoc} - */ public function getKernel(): HttpKernelInterface { return $this->event->getKernel(); } - /** - * {@inheritdoc} - */ public function getRequest(): Request { return $this->event->getRequest(); } - /** - * {@inheritdoc} - */ public function getRequestType(): int { return $this->event->getRequestType(); } - /** - * {@inheritdoc} - */ public function isMainRequest(): bool { return $this->event->isMainRequest(); diff --git a/Firewall.php b/Firewall.php index 0c313f8f..69be9867 100644 --- a/Firewall.php +++ b/Firewall.php @@ -102,9 +102,6 @@ public function onKernelFinishRequest(FinishRequestEvent $event) } } - /** - * {@inheritdoc} - */ public static function getSubscribedEvents() { return [ diff --git a/Firewall/AccessListener.php b/Firewall/AccessListener.php index efa27495..8a258698 100644 --- a/Firewall/AccessListener.php +++ b/Firewall/AccessListener.php @@ -45,9 +45,6 @@ public function __construct(TokenStorageInterface $tokenStorage, AccessDecisionM $this->map = $map; } - /** - * {@inheritdoc} - */ public function supports(Request $request): ?bool { [$attributes] = $this->map->getPatterns($request); diff --git a/Firewall/ContextListener.php b/Firewall/ContextListener.php index a28ccd86..873434ee 100644 --- a/Firewall/ContextListener.php +++ b/Firewall/ContextListener.php @@ -71,9 +71,6 @@ public function __construct(TokenStorageInterface $tokenStorage, iterable $userP $this->sessionTrackerEnabler = null === $sessionTrackerEnabler ? null : $sessionTrackerEnabler(...); } - /** - * {@inheritdoc} - */ public function supports(Request $request): ?bool { return null; // always run authenticate() lazily with lazy firewalls diff --git a/Firewall/LogoutListener.php b/Firewall/LogoutListener.php index a25200b3..f7768998 100644 --- a/Firewall/LogoutListener.php +++ b/Firewall/LogoutListener.php @@ -54,9 +54,6 @@ public function __construct(TokenStorageInterface $tokenStorage, HttpUtils $http $this->eventDispatcher = $eventDispatcher; } - /** - * {@inheritdoc} - */ public function supports(Request $request): ?bool { return $this->requiresLogout($request); diff --git a/Firewall/SwitchUserListener.php b/Firewall/SwitchUserListener.php index 1ce9276d..d4478ed1 100644 --- a/Firewall/SwitchUserListener.php +++ b/Firewall/SwitchUserListener.php @@ -72,9 +72,6 @@ public function __construct(TokenStorageInterface $tokenStorage, UserProviderInt $this->targetUrl = $targetUrl; } - /** - * {@inheritdoc} - */ public function supports(Request $request): ?bool { // usernames can be falsy diff --git a/FirewallMap.php b/FirewallMap.php index 3e7a9876..de6c4ac9 100644 --- a/FirewallMap.php +++ b/FirewallMap.php @@ -37,9 +37,6 @@ public function add(RequestMatcherInterface $requestMatcher = null, array $liste $this->map[] = [$requestMatcher, $listeners, $exceptionListener, $logoutListener]; } - /** - * {@inheritdoc} - */ public function getListeners(Request $request): array { foreach ($this->map as $elements) { diff --git a/LoginLink/Exception/InvalidLoginLinkAuthenticationException.php b/LoginLink/Exception/InvalidLoginLinkAuthenticationException.php index bd43ba69..f2debd98 100644 --- a/LoginLink/Exception/InvalidLoginLinkAuthenticationException.php +++ b/LoginLink/Exception/InvalidLoginLinkAuthenticationException.php @@ -20,9 +20,6 @@ */ class InvalidLoginLinkAuthenticationException extends AuthenticationException { - /** - * {@inheritdoc} - */ public function getMessageKey(): string { return 'Invalid or expired login link.'; diff --git a/RememberMe/AbstractRememberMeHandler.php b/RememberMe/AbstractRememberMeHandler.php index 67e637fe..725986ef 100644 --- a/RememberMe/AbstractRememberMeHandler.php +++ b/RememberMe/AbstractRememberMeHandler.php @@ -57,9 +57,6 @@ public function __construct(UserProviderInterface $userProvider, RequestStack $r */ abstract protected function processRememberMe(RememberMeDetails $rememberMeDetails, UserInterface $user): void; - /** - * {@inheritdoc} - */ public function consumeRememberMeCookie(RememberMeDetails $rememberMeDetails): UserInterface { try { @@ -79,9 +76,6 @@ public function consumeRememberMeCookie(RememberMeDetails $rememberMeDetails): U return $user; } - /** - * {@inheritdoc} - */ public function clearRememberMeCookie(): void { $this->logger?->debug('Clearing remember-me cookie.', ['name' => $this->options['name']]); diff --git a/RememberMe/PersistentRememberMeHandler.php b/RememberMe/PersistentRememberMeHandler.php index d8565084..9f439561 100644 --- a/RememberMe/PersistentRememberMeHandler.php +++ b/RememberMe/PersistentRememberMeHandler.php @@ -48,9 +48,6 @@ public function __construct(TokenProviderInterface $tokenProvider, #[\SensitiveP $this->secret = $secret; } - /** - * {@inheritdoc} - */ public function createRememberMeCookie(UserInterface $user): void { $series = base64_encode(random_bytes(64)); @@ -61,9 +58,6 @@ public function createRememberMeCookie(UserInterface $user): void $this->createCookie(RememberMeDetails::fromPersistentToken($token, time() + $this->options['lifetime'])); } - /** - * {@inheritdoc} - */ public function processRememberMe(RememberMeDetails $rememberMeDetails, UserInterface $user): void { if (!str_contains($rememberMeDetails->getValue(), ':')) { @@ -99,9 +93,6 @@ public function processRememberMe(RememberMeDetails $rememberMeDetails, UserInte $this->createCookie($rememberMeDetails->withValue($series.':'.$tokenValue)); } - /** - * {@inheritdoc} - */ public function clearRememberMeCookie(): void { parent::clearRememberMeCookie(); diff --git a/RememberMe/ResponseListener.php b/RememberMe/ResponseListener.php index 82eab696..ecdbaf73 100644 --- a/RememberMe/ResponseListener.php +++ b/RememberMe/ResponseListener.php @@ -44,9 +44,6 @@ public function onKernelResponse(ResponseEvent $event) } } - /** - * {@inheritdoc} - */ public static function getSubscribedEvents(): array { return [KernelEvents::RESPONSE => 'onKernelResponse']; diff --git a/RememberMe/SignatureRememberMeHandler.php b/RememberMe/SignatureRememberMeHandler.php index cab30578..5f6edcb2 100644 --- a/RememberMe/SignatureRememberMeHandler.php +++ b/RememberMe/SignatureRememberMeHandler.php @@ -41,9 +41,6 @@ public function __construct(SignatureHasher $signatureHasher, UserProviderInterf $this->signatureHasher = $signatureHasher; } - /** - * {@inheritdoc} - */ public function createRememberMeCookie(UserInterface $user): void { $expires = time() + $this->options['lifetime']; @@ -53,9 +50,6 @@ public function createRememberMeCookie(UserInterface $user): void $this->createCookie($details); } - /** - * {@inheritdoc} - */ public function processRememberMe(RememberMeDetails $rememberMeDetails, UserInterface $user): void { try { diff --git a/Session/SessionAuthenticationStrategy.php b/Session/SessionAuthenticationStrategy.php index 97cf1369..0d4a310f 100644 --- a/Session/SessionAuthenticationStrategy.php +++ b/Session/SessionAuthenticationStrategy.php @@ -37,9 +37,6 @@ public function __construct(string $strategy) $this->strategy = $strategy; } - /** - * {@inheritdoc} - */ public function onAuthentication(Request $request, TokenInterface $token) { switch ($this->strategy) {