Skip to content
Snippets Groups Projects
Commit e2f488c7 authored by Eirik Morland's avatar Eirik Morland
Browse files

use psr/log logger

parent f3999748
No related branches found
No related tags found
1 merge request!54use psr/log logger
......@@ -7,7 +7,6 @@ use Drupal\Core\Entity\EntityFieldManagerInterface;
use Drupal\Core\Entity\EntityRepositoryInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Logger\LoggerChannelFactoryInterface;
use Drupal\Core\Logger\LoggerChannelInterface;
use Drupal\Core\Render\RendererInterface;
use Drupal\Core\Session\AccountInterface;
use Drupal\jsonapi\Access\EntityAccessChecker;
......@@ -20,6 +19,7 @@ use Drupal\jsonapi\ResourceType\ResourceType;
use Drupal\jsonapi\ResourceType\ResourceTypeRepositoryInterface;
use Drupal\jsonapi_defaults\JsonapiDefaultsInterface;
use Drupal\jsonapi_extras\Entity\JsonapiResourceConfig;
use Psr\Log\LoggerInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Serializer\SerializerInterface;
......@@ -38,9 +38,9 @@ class EntityResource extends JsonApiEntityResource {
/**
* The logger service.
*
* @var \Drupal\Core\Logger\LoggerChannelInterface
* @var \Psr\Log\LoggerInterface
*/
protected LoggerChannelInterface $logger;
protected LoggerInterface $logger;
/**
* Instantiates an EntityResource object.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment