diff --git a/src/Commands/UwDrushCommands.php b/src/Commands/UwDrushCommands.php index 5718b2871fd7b996e3fbf9d7a3994ce84fd61ce6..1d821bfb513aa9761a22c00467687beefd645f4c 100644 --- a/src/Commands/UwDrushCommands.php +++ b/src/Commands/UwDrushCommands.php @@ -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;