Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 711c873

Browse filesBrowse files
author
Guillaume Pédelagrabe
committed
Remove !\is_resource($this->stream).
1 parent ecec14c commit 711c873
Copy full SHA for 711c873

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Console/Output/StreamOutput.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Output/StreamOutput.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ protected function doWrite($message, $newline)
7474
$message .= PHP_EOL;
7575
}
7676

77-
if (!\is_resource($this->stream) || !\is_string($message)) {
77+
if (!\is_string($message)) {
7878
// should never happen
7979
throw new RuntimeException('Unable to write output.');
8080
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.