From 9e3c7387c42012c346360b133a13dd413dcf1071 Mon Sep 17 00:00:00 2001
From: GoZ <goz@226961.no-reply.drupal.org>
Date: Mon, 1 Apr 2019 15:43:11 +0200
Subject: [PATCH] Issue #3044908: WebformDevelCommands webprofiler conflict

---
 modules/webform_devel/src/Commands/WebformDevelCommands.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/webform_devel/src/Commands/WebformDevelCommands.php b/modules/webform_devel/src/Commands/WebformDevelCommands.php
index 642ce95a..6a29c386 100644
--- a/modules/webform_devel/src/Commands/WebformDevelCommands.php
+++ b/modules/webform_devel/src/Commands/WebformDevelCommands.php
@@ -3,7 +3,7 @@
 namespace Drupal\webform_devel\Commands;
 
 use Drupal\Core\Serialization\Yaml;
-use Drupal\Core\State\State;
+use Drupal\Core\State\StateInterface;
 use Drupal\user\UserData;
 use Drupal\webform\Utility\WebformYaml;
 use Drush\Commands\DrushCommands;
@@ -32,12 +32,12 @@ class WebformDevelCommands extends DrushCommands {
   /**
    * The construct method.
    *
-   * @param \Drupal\Core\State\State $state
+   * @param \Drupal\Core\State\StateInterface $state
    *   Provides the state system.
    * @param \Drupal\user\UserData $user_data
    *   The user data service.
    */
-  public function __construct(State $state, UserData $user_data) {
+  public function __construct(StateInterface $state, UserData $user_data) {
     parent::__construct();
     $this->state = $state;
     $this->userData = $user_data;
-- 
2.20.1

