diff --git a/src/Intervention/Image/Commands/StreamCommand.php b/src/Intervention/Image/Commands/StreamCommand.php index 111c4756..6d659147 100644 --- a/src/Intervention/Image/Commands/StreamCommand.php +++ b/src/Intervention/Image/Commands/StreamCommand.php @@ -16,10 +16,10 @@ class StreamCommand extends AbstractCommand $format = $this->argument(0)->value(); $quality = $this->argument(1)->between(0, 100)->value(); - $this->setOutput(\GuzzleHttp\Psr7\stream_for( + $this->setOutput(\GuzzleHttp\Psr7\Utils::streamFor( $image->encode($format, $quality)->getEncoded() )); return true; } -} \ No newline at end of file +}