Issue #3030209 by knyshuk.vova: Wrong replacement argument in error logger (8.7.x-dev)
parent
59f8c0d45d
commit
1c3c5573c7
|
@ -101,13 +101,13 @@ class ResourceRoutes implements EventSubscriberInterface {
|
||||||
|
|
||||||
// Check that authentication providers are defined.
|
// Check that authentication providers are defined.
|
||||||
if (empty($rest_resource_config->getAuthenticationProviders($method))) {
|
if (empty($rest_resource_config->getAuthenticationProviders($method))) {
|
||||||
$this->logger->error('At least one authentication provider must be defined for resource @id', [':id' => $rest_resource_config->id()]);
|
$this->logger->error('At least one authentication provider must be defined for resource @id', ['@id' => $rest_resource_config->id()]);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check that formats are defined.
|
// Check that formats are defined.
|
||||||
if (empty($rest_resource_config->getFormats($method))) {
|
if (empty($rest_resource_config->getFormats($method))) {
|
||||||
$this->logger->error('At least one format must be defined for resource @id', [':id' => $rest_resource_config->id()]);
|
$this->logger->error('At least one format must be defined for resource @id', ['@id' => $rest_resource_config->id()]);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue