diff --git a/src/TransactorHandler.php b/src/TransactorHandler.php index c13fc26bb9b1d751bc94898c83886a1be4548161..a8ce5b6ce80e166762feedf9158fd3276a66e1fc 100644 --- a/src/TransactorHandler.php +++ b/src/TransactorHandler.php @@ -13,7 +13,7 @@ use Drupal\user\UserInterface; use Symfony\Component\DependencyInjection\ContainerInterface; use Drupal\Core\Entity\EntityTypeInterface; use Drupal\Core\Entity\EntityStorageInterface; -use Drupal\Component\Datetime\Time; +use Drupal\Component\Datetime\TimeInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface; /** @@ -77,7 +77,7 @@ class TransactorHandler implements TransactorHandlerInterface { * The transaction service. * @param \Drupal\Core\Entity\EntityStorageInterface $transaction_storage * The transaction entity type storage. - * @param \Drupal\Component\Datetime\Time $time_service + * @param \Drupal\Component\Datetime\TimeInterface $time_service * The time service. * @param \Drupal\Core\Session\AccountInterface $current_user * The current user. @@ -88,7 +88,7 @@ class TransactorHandler implements TransactorHandlerInterface { * @param \Drupal\Core\Lock\LockBackendInterface $lock * The lock service. */ - public function __construct(TransactionServiceInterface $transaction_service, EntityStorageInterface $transaction_storage, Time $time_service, AccountInterface $current_user, Token $token, EventDispatcherInterface $event_dispatcher, LockBackendInterface $lock) { + public function __construct(TransactionServiceInterface $transaction_service, EntityStorageInterface $transaction_storage, TimeInterface $time_service, AccountInterface $current_user, Token $token, EventDispatcherInterface $event_dispatcher, LockBackendInterface $lock) { $this->transactionService = $transaction_service; $this->transactionStorage = $transaction_storage; $this->timeService = $time_service;