[Console] Revert wrong change

This commit is contained in:
Fabien Potencier 2019-10-22 08:15:10 +02:00
parent b9ba0c5e86
commit f592322251

View File

@ -115,7 +115,7 @@ class QuestionHelper extends Helper
{
$this->writePrompt($output, $question);
$inputStream = $this->inputStream ?: fopen('php://stdin', 'r');
$inputStream = $this->inputStream ?: STDIN;
$autocomplete = $question->getAutocompleterCallback();
if (null === $autocomplete || !Terminal::hasSttyAvailable()) {