Updated to coding standard v2.2.0

This commit is contained in:
Alejandro Celaya
2021-08-05 19:47:17 +02:00
parent 60d6314262
commit 9a31f53d4d
38 changed files with 40 additions and 51 deletions

View File

@@ -16,7 +16,7 @@ class NotFoundRedirectResolver implements NotFoundRedirectResolverInterface
public function resolveRedirectResponse(
NotFoundType $notFoundType,
NotFoundRedirectConfigInterface $config
NotFoundRedirectConfigInterface $config,
): ?ResponseInterface {
return match (true) {
$notFoundType->isBaseUrl() && $config->hasBaseUrlRedirect() =>

View File

@@ -11,6 +11,6 @@ interface NotFoundRedirectResolverInterface
{
public function resolveRedirectResponse(
NotFoundType $notFoundType,
NotFoundRedirectConfigInterface $config
NotFoundRedirectConfigInterface $config,
): ?ResponseInterface;
}