mirror of
https://github.com/Intervention/image.git
synced 2025-09-01 01:51:43 +02:00
Update StreamCommand.php
https://docs.guzzlephp.org/en/stable/psr7.html#streams
This commit is contained in:
@@ -16,7 +16,7 @@ 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()
|
||||
));
|
||||
|
||||
|
Reference in New Issue
Block a user