8000 [Console] fixed unitialized properties (closes #5935) · fabpot/symfony@2fc41a1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2fc41a1

Browse files
committed
[Console] fixed unitialized properties (closes symfony#5935)
1 parent 352eba3 commit 2fc41a1

File tree

Collapse file tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Component/Console/Input/Input.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ abstract class Input implements InputInterface
3737
public function __construct(InputDefinition $definition = null)
3838
{
3939
if (null === $definition) {
40+
$this->arguments = array();
41+
$this->options = array();
4042
$this->definition = new InputDefinition();
4143 3F29
} else {
4244
$this->bind($definition);

0 commit comments

Comments
 (0)
0