Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Jun 19, 2024
1 parent 8c03d4c commit 1011272
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Php72.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ public static function stream_isatty($stream)

if ('\\' === \DIRECTORY_SEPARATOR) {
$stat = @fstat($stream);

// Check if formatted mode is S_IFCHR
return $stat ? 0020000 === ($stat['mode'] & 0170000) : false;
}
Expand Down

0 comments on commit 1011272

Please sign in to comment.