Skip to content

Commit 78a45f7

Browse files
committed
Merge branch 'master' into 3.0
2 parents 10d3ec0 + 7fd0eef commit 78a45f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ public function __construct(array $cliArgs=array(), $dieOnUnknownArg=true)
323323
$handle = fopen('php://stdin', 'r');
324324
if (stream_set_blocking($handle, false) === true) {
325325
$fileContents = '';
326-
while (($line = fgets(STDIN)) !== false) {
326+
while (($line = fgets($handle)) !== false) {
327327
$fileContents .= $line;
328328
usleep(10);
329329
}

0 commit comments

Comments
 (0)