Skip to content
Snippets Groups Projects
Commit 5af48667 authored by Eric Bremner's avatar Eric Bremner Committed by Lily Yan
Browse files

ISTWCMS-5809: using the interface for module handler so that things work correctly

parent a133a7b8
No related branches found
No related tags found
1 merge request!268ISTWCMS-5809: using the interface for module handler so that things work correctly
This commit is part of merge request !268. Comments created here will be created in the context of that merge request.
......@@ -4,7 +4,7 @@ namespace Drupal\uw_cfg_common\Commands;
use Drupal\Core\Config\ConfigFactoryInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Extension\ModuleHandler;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\ProxyClass\Extension\ModuleInstaller;
use Drupal\uw_cfg_common\Service\UWMissingBlocks;
use Drupal\uw_cfg_common\UwPermissions\UwPermissions;
......@@ -43,7 +43,7 @@ class UwDrushCommands extends DrushCommands {
/**
* Module handler.
*
* @var \Drupal\Core\Extension\ModuleHandler
* @var \Drupal\Core\Extension\ModuleHandlerInterface
*/
protected $moduleHandler;
......@@ -61,7 +61,7 @@ class UwDrushCommands extends DrushCommands {
EntityTypeManagerInterface $entityTypeManager,
UWMissingBlocks $missingBlocks,
ConfigFactoryInterface $configFactory,
ModuleHandler $moduleHandler,
ModuleHandlerInterface $moduleHandler,
ModuleInstaller $moduleInstaller
) {
$this->entityTypeManager = $entityTypeManager;
......
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