Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eb3eaf6

Browse files
committed
merged branch fabpot/console-5935 (PR #6523)
This PR was merged into the 2.0 branch. Commits ------- 2fc41a1 [Console] fixed unitialized properties (closes #5935) Discussion ---------- [Console] fixed unitialized properties (closes #5935)
2 parents 352eba3 + 2fc41a1 commit eb3eaf6

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
} else {
4244
$this->bind($definition);

0 commit comments

Comments
 (0)