Browse Source

fixed typo

Fabien Potencier 14 years ago
parent
commit
59870bfe02
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Symfony/Component/Console/Helper/DialogHelper.php

+ 1 - 1
src/Symfony/Component/Console/Helper/DialogHelper.php

@@ -35,7 +35,7 @@ class DialogHelper extends Helper
     {
         $output->write($question);
 
-        if (false === stream_get_line(null === $this->inputStream ? STDIN : $this->inputStream, 4096, "\n")) {
+        if (false === $ret = stream_get_line(null === $this->inputStream ? STDIN : $this->inputStream, 4096, "\n")) {
             throw new \Exception('Aborted');
         }
         $ret = trim($ret);