[Console] fixed unitialized properties (closes #5935)
This commit is contained in:
parent
352eba385c
commit
2fc41a1ac8
@ -37,6 +37,8 @@ abstract class Input implements InputInterface
|
||||
public function __construct(InputDefinition $definition = null)
|
||||
{
|
||||
if (null === $definition) {
|
||||
$this->arguments = array();
|
||||
$this->options = array();
|
||||
$this->definition = new InputDefinition();
|
||||
} else {
|
||||
$this->bind($definition);
|
||||
|
Reference in New Issue
Block a user