diff --git a/src/Symfony/Component/Console/Output/StreamOutput.php b/src/Symfony/Component/Console/Output/StreamOutput.php index e876dabfee65d..4fe3f221d95e4 100644 --- a/src/Symfony/Component/Console/Output/StreamOutput.php +++ b/src/Symfony/Component/Console/Output/StreamOutput.php @@ -74,7 +74,7 @@ protected function doWrite($message, $newline) $message .= PHP_EOL; } - if (!\is_resource($this->stream) || !\is_string($message)) { + if (!\is_string($message)) { // should never happen throw new RuntimeException('Unable to write output.'); }