Skip to content
Snippets Groups Projects
Commit ba82fa9c authored by Lio Novelli's avatar Lio Novelli Committed by Lee Rowlands
Browse files

Issue #3358411 by useernamee: Interface should be used in constructor instead of class itself

parent aef555b6
No related branches found
No related tags found
1 merge request!9Issue #3358411: Interface should be used in constructor instead of class itself
......@@ -5,7 +5,7 @@ namespace Drupal\build_hooks;
use Drupal\build_hooks\Event\BuildTrigger;
use Drupal\build_hooks\Entity\FrontendEnvironmentInterface;
use Drupal\Core\Config\ConfigFactoryInterface;
use Drupal\Core\Entity\EntityTypeManager;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Logger\LoggerChannelFactoryInterface;
use Drupal\Core\Messenger\MessengerInterface;
use Drupal\Core\Messenger\MessengerTrait;
......@@ -78,7 +78,7 @@ class Trigger implements TriggerInterface {
/**
* The entity type manager.
*
* @var \Drupal\Core\Entity\EntityTypeManager
* @var \Drupal\Core\Entity\EntityTypeManagerInterface
*/
protected $entityTypeManager;
......@@ -107,7 +107,7 @@ class Trigger implements TriggerInterface {
MessengerInterface $messenger,
LoggerChannelFactoryInterface $logger,
DeployLogger $deployLogger,
EntityTypeManager $entityTypeManager,
EntityTypeManagerInterface $entityTypeManager,
CacheTagsInvalidatorInterface $cacheTagInvalidator,
EventDispatcherInterface $event_dispatcher
) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment