mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
Fix #1951 update guzzlehttp/guzzle to 6.5.6
This commit is contained in:
parent
d0cdcb5d2a
commit
8d26ca1a90
21 changed files with 402 additions and 89 deletions
8
vendor/guzzlehttp/psr7/src/CachingStream.php
vendored
8
vendor/guzzlehttp/psr7/src/CachingStream.php
vendored
|
|
@ -36,7 +36,13 @@ class CachingStream implements StreamInterface
|
|||
|
||||
public function getSize()
|
||||
{
|
||||
return max($this->stream->getSize(), $this->remoteStream->getSize());
|
||||
$remoteSize = $this->remoteStream->getSize();
|
||||
|
||||
if (null === $remoteSize) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return max($this->stream->getSize(), $remoteSize);
|
||||
}
|
||||
|
||||
public function rewind()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue