Dep: update
주로 PHAN
This commit is contained in:
+4
-3
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace GuzzleHttp\Psr7;
|
||||
|
||||
use Psr\Http\Message\StreamInterface;
|
||||
@@ -17,7 +18,7 @@ trait MessageTrait
|
||||
/** @var string */
|
||||
private $protocol = '1.1';
|
||||
|
||||
/** @var StreamInterface */
|
||||
/** @var StreamInterface|null */
|
||||
private $stream;
|
||||
|
||||
public function getProtocolVersion()
|
||||
@@ -117,7 +118,7 @@ trait MessageTrait
|
||||
public function getBody()
|
||||
{
|
||||
if (!$this->stream) {
|
||||
$this->stream = stream_for('');
|
||||
$this->stream = Utils::streamFor('');
|
||||
}
|
||||
|
||||
return $this->stream;
|
||||
@@ -194,7 +195,7 @@ trait MessageTrait
|
||||
}
|
||||
|
||||
return trim((string) $value, " \t");
|
||||
}, $values);
|
||||
}, array_values($values));
|
||||
}
|
||||
|
||||
private function assertHeader($header)
|
||||
|
||||
Reference in New Issue
Block a user