We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2b902a commit 31f31edCopy full SHA for 31f31ed
src/Request.php
@@ -222,7 +222,7 @@ protected function parseResponse($data)
222
$headers
223
);
224
225
- return array($response, $psrResponse->getBody());
+ return array($response, (string)($psrResponse->getBody()));
226
}
227
228
protected function connect()
tests/RequestTest.php
@@ -73,7 +73,7 @@ public function requestShouldBindToStreamEventsAndUseconnector()
73
74
$response->expects($this->once())
75
->method('emit')
76
- ->with('data', array('body', $response));
+ ->with('data', $this->identicalTo(array('body', $response)));
77
78
$response->expects($this->at(0))
79
->method('on')
0 commit comments