Skip to content

Commit

Permalink
Fix error handling in Stream::getContents()
Browse files Browse the repository at this point in the history
  • Loading branch information
odan committed Nov 16, 2023
1 parent bc00152 commit b6963ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stream.php
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ public function isPipe(): bool
*
* return string The contents
*/
public function getStreamContents(): string
protected function getStreamContents(): string
{
$contents = false;
$exception = null;
Expand Down

0 comments on commit b6963ef

Please sign in to comment.