Hello,
I discover the following bug when use this package with Guzzle 7 installed.
The code breaks because of the following lines:
|
$stream = $this->content instanceof Stream ? |
|
$this->content |
|
: Psr7\stream_for($this->content); |
I am getting undefined function stream_to
This because of that function does not exists in the package the guzzle/psr7 that guzzle/http package is using.
The function is moved to another location.
More information about that can be found in this issue:
guzzle/psr7#345
You can fix the issue by installing the guzzle/psr7 version 1.9