-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
/frostealth/yii2-aws-s3/src/handlers/uploadCommandHandlers
protected function sourceToStream($source): StreamInterface
{
if (is_string($source)) {
$source = Psr7\try_fopen($source, 'r+');
}
return Psr7\stream_for($source);
}
Should now be
protected function sourceToStream($source): StreamInterface
{
if (is_string($source)) {
$source = Psr7\Utils::tryFopen($source, 'r+');
}
return Psr7\Utils::streamFor($source);
}
There might be more functions needs replacing, but that was the one directly affecting me. There's a list of the new functions here https://github.com/guzzle/psr7/blob/4095c77b73893521ef1c84109b95f97aa35e48b8/README.md
Metadata
Metadata
Assignees
Labels
No labels