diff --git a/BaseHandler.php b/BaseHandler.php index b9289e31b187c987826c7d308a932b6651ba0331..0d41d745c564d8c0919952c7ee915f3da2de80b4 100644 --- a/BaseHandler.php +++ b/BaseHandler.php @@ -31,7 +31,7 @@ abstract class BaseHandler implements BaseHandlerInterface { /** * @var \Symfony\Component\Console\Input\InputInterface */ - protected $input; + protected $consoleInput; /** * The event that triggered the action. @@ -72,7 +72,7 @@ abstract class BaseHandler implements BaseHandlerInterface { * {@inheritdoc} */ public function setInput(InputInterface $input) { - $this->input = $input; + $this->consoleInput = $input; return $this; } @@ -100,8 +100,8 @@ abstract class BaseHandler implements BaseHandlerInterface { if ($this->event !== NULL) { return $this->event->isDevMode(); } - if ($this->input !== NULL) { - return !$this->input->hasOption('no-dev'); + if ($this->consoleInput !== NULL) { + return !$this->consoleInput->hasOption('no-dev'); } return FALSE; } diff --git a/composer.json b/composer.json index 3cad641d39b40315c397d2bdc6ba528d5f519173..692b49ed54faf6374a7f1a41fde7552ef11824a6 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "source": "https://gitlab.lakedrops.com/composer/library/composer-json-utils/tree/master" }, "require": { - "php": ">=7.0", + "php": ">=7.2", "ext-json": "*" }, "require-dev": {