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

@@ -84,7 +84,7 @@ class DomainService implements DomainServiceInterface
public function configureNotFoundRedirects(
string $authority,
NotFoundRedirects $notFoundRedirects,
?ApiKey $apiKey = null
?ApiKey $apiKey = null,
): Domain {
if ($authority === $this->defaultDomain) {
throw InvalidDomainException::forDefaultDomainRedirects();

View File

@@ -14,7 +14,7 @@ final class DomainItem implements JsonSerializable
private function __construct(
private string $authority,
private NotFoundRedirectConfigInterface $notFoundRedirectConfig,
private bool $isDefault
private bool $isDefault,
) {
}