|
@@ -35,7 +35,7 @@ class DialogHelper extends Helper
|
|
{
|
|
{
|
|
$output->write($question);
|
|
$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');
|
|
throw new \Exception('Aborted');
|
|
}
|
|
}
|
|
$ret = trim($ret);
|
|
$ret = trim($ret);
|