From fc72050eeb655120adc7d04391d24440cd70a175 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Mon, 19 Apr 2010 16:01:33 +0200 Subject: [PATCH] [Console] fixed typo --- src/Symfony/Components/Console/Input/ArgvInput.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Components/Console/Input/ArgvInput.php b/src/Symfony/Components/Console/Input/ArgvInput.php index 0d19942240..822c338326 100644 --- a/src/Symfony/Components/Console/Input/ArgvInput.php +++ b/src/Symfony/Components/Console/Input/ArgvInput.php @@ -70,7 +70,7 @@ class ArgvInput extends Input protected function parse() { $this->parsed = $this->tokens; - while ($token = array_shift($this->parsed)) + while (null !== $token = array_shift($this->parsed)) { if ('--' === substr($token, 0, 2)) {