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.
|
||||
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;
|
||||
}
|
||||
|
||||
// Check that formats are defined.
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue