Skip to content
Snippets Groups Projects
Commit 2e9c5907 authored by Abhishek Gupta's avatar Abhishek Gupta Committed by Jakob P
Browse files

Issue #3456716 by abhishek_gupta1: TypeError: Cannot assign Psr\Log\NullLogger...

Issue #3456716 by abhishek_gupta1: TypeError: Cannot assign Psr\Log\NullLogger to property Drupal\autologout\AutologoutManager::$logger of type Drupal\Core\Logger\LoggerChannelInterface in Drupal\autologout\AutologoutManager->__construct()
parent f1f97ba8
No related branches found
No related tags found
1 merge request!62fixed the issue
Pipeline #346445 canceled
......@@ -9,7 +9,6 @@ use Drupal\Core\Config\ConfigFactoryInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\Logger\LoggerChannelFactoryInterface;
use Drupal\Core\Logger\LoggerChannelInterface;
use Drupal\Core\Messenger\MessengerInterface;
use Drupal\Core\Session\AccountInterface;
use Drupal\Core\Session\AnonymousUserSession;
......@@ -18,6 +17,7 @@ use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\user\UserData;
use Drupal\user\UserDataInterface;
use Drupal\user\UserInterface;
use Psr\Log\LoggerInterface;
use Symfony\Component\HttpFoundation\RequestStack;
/**
......@@ -64,9 +64,9 @@ class AutologoutManager implements AutologoutManagerInterface {
/**
* Logger service.
*
* @var \Drupal\Core\Logger\LoggerChannelInterface
* @var \Psr\Log\LoggerInterface
*/
protected LoggerChannelInterface $logger;
protected LoggerInterface $logger;
/**
* The session.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment