Dep: update
주로 PHAN
This commit is contained in:
+6
-1
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace GuzzleHttp\Psr7;
|
||||
|
||||
use Psr\Http\Message\StreamInterface;
|
||||
@@ -7,6 +8,8 @@ use Psr\Http\Message\StreamInterface;
|
||||
* Reads from multiple streams, one after the other.
|
||||
*
|
||||
* This is a read-only stream decorator.
|
||||
*
|
||||
* @final
|
||||
*/
|
||||
class AppendStream implements StreamInterface
|
||||
{
|
||||
@@ -61,7 +64,7 @@ class AppendStream implements StreamInterface
|
||||
|
||||
public function getContents()
|
||||
{
|
||||
return copy_to_string($this);
|
||||
return Utils::copyToString($this);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -98,6 +101,8 @@ class AppendStream implements StreamInterface
|
||||
}
|
||||
|
||||
$this->streams = [];
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public function tell()
|
||||
|
||||
Reference in New Issue
Block a user