Commit 676de06e authored by Thalles Ferreira's avatar Thalles Ferreira Committed by Alexander Hass
Browse files

Issue #3048523 by thalles: Replace ModuleHandler by

ModuleHandlerInterface
parent 02b8bfc0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
namespace Drupal\google_analytics\Form;

use Drupal\Core\Config\ConfigFactoryInterface;
use Drupal\Core\Extension\ModuleHandler;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\Form\ConfigFormBase;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Url;
@@ -23,7 +23,7 @@ class GoogleAnalyticsAdminSettingsForm extends ConfigFormBase {
  /**
   * {@inheritdoc}
   */
  public function __construct(ConfigFactoryInterface $config_factory, AccountInterface $currentUser, ModuleHandler $moduleHandler) {
  public function __construct(ConfigFactoryInterface $config_factory, AccountInterface $currentUser, ModuleHandlerInterface $moduleHandler) {
    parent::__construct($config_factory);
    $this->currentUser = $currentUser;
    $this->moduleHandler = $moduleHandler;