Skip to content
Snippets Groups Projects
Commit b9c9531a authored by Gergely Lekli's avatar Gergely Lekli
Browse files

Update type declarations

parent dabeba7d
Branches
Tags 2.0.2
No related merge requests found
......@@ -2,15 +2,15 @@
namespace Drupal\access_code\Service;
use Drupal\Component\Datetime\Time;
use Drupal\Core\Config\ConfigFactory;
use Drupal\Component\Datetime\TimeInterface;
use Drupal\Core\Config\ConfigFactoryInterface;
use Drupal\Core\Database\Connection;
use Drupal\Core\Extension\ModuleHandler;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Link;
use Drupal\Core\Logger\LoggerChannelFactory;
use Drupal\Core\Messenger\Messenger;
use Drupal\Core\Routing\RedirectDestination;
use Drupal\Core\Logger\LoggerChannelFactoryInterface;
use Drupal\Core\Messenger\MessengerInterface;
use Drupal\Core\Routing\RedirectDestinationInterface;
use Drupal\Core\Session\AccountProxy;
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\Core\Url;
......@@ -77,7 +77,7 @@ class AccessCodeManager {
/**
* Constructor.
*/
public function __construct(ConfigFactory $config_factory, LoggerChannelFactory $logger_factory, Connection $database, AccountProxy $current_user, UserDataInterface $user_data, Time $time, ModuleHandler $handler, RequestStack $stack, RedirectDestination $destination, Messenger $messenger) {
public function __construct(ConfigFactoryInterface $config_factory, LoggerChannelFactoryInterface $logger_factory, Connection $database, AccountProxy $current_user, UserDataInterface $user_data, TimeInterface $time, ModuleHandlerInterface $handler, RequestStack $stack, RedirectDestinationInterface $destination, MessengerInterface $messenger) {
$this->config = $config_factory->get('access_code.settings');
$this->logger = $logger_factory->get('access_code');
$this->database = $database;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment