From 2fc41a1ac8cb472468da0416d535b785b9365bb3 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 30 Dec 2012 21:29:27 +0100 Subject: [PATCH] [Console] fixed unitialized properties (closes #5935) --- src/Symfony/Component/Console/Input/Input.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Symfony/Component/Console/Input/Input.php b/src/Symfony/Component/Console/Input/Input.php index 70291be7e9..57f2972e6f 100644 --- a/src/Symfony/Component/Console/Input/Input.php +++ b/src/Symfony/Component/Console/Input/Input.php @@ -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);