Skip to content
Snippets Groups Projects
Commit 9ef02809 authored by jurgenhaas's avatar jurgenhaas
Browse files

Rename variable

Increase PHP requirement
parent dbd9c2a5
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
......@@ -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": {
......
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