Closed LinXueYi closed 2 years ago
Declaration of AlibabaCloud\Tea\OSSUtils\VerifyStream::read($length) must be compatible with GuzzleHttp\Psr7\Stream::read($length): string
alibabacloud\tea-oss-utils\src\VerifyStream.php 修改 read 方法
public function read($length) : string { $string = parent::read($length); if (!empty($string)) { $this->crcRead->append($string); $this->content .= $string; } return $string; }
感谢您为阿里云 OSS SDK 提交宝贵的建议
已支持,commit:https://github.com/aliyun/alibabacloud-oss-sdk/commit/7fc74f9fa2fe0f0203cc24e4db6612945d34bb6c
项目依赖
错误信息
Declaration of AlibabaCloud\Tea\OSSUtils\VerifyStream::read($length) must be compatible with GuzzleHttp\Psr7\Stream::read($length): string
解决方法
alibabacloud\tea-oss-utils\src\VerifyStream.php 修改 read 方法