[Console] fixed typo

This commit is contained in:
Fabien Potencier 2010-04-19 16:01:33 +02:00
parent 79b39157e2
commit fc72050eeb

View File

@ -70,7 +70,7 @@ class ArgvInput extends Input
protected function parse() protected function parse()
{ {
$this->parsed = $this->tokens; $this->parsed = $this->tokens;
while ($token = array_shift($this->parsed)) while (null !== $token = array_shift($this->parsed))
{ {
if ('--' === substr($token, 0, 2)) if ('--' === substr($token, 0, 2))
{ {