Skip to content

Commit a840421

Browse files
committed
Update clue/buzz-react to v0.4.0
1 parent a1055e0 commit a840421

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"require": {
1717
"php": ">=5.3",
1818
"react/event-loop": "~0.3.0|~0.4.0",
19-
"clue/buzz-react": "~0.3.0",
19+
"clue/buzz-react": "~0.4.0",
2020
"react/promise": "~2.0|~1.1",
2121
"clue/json-stream": "~0.1.0"
2222
},

tests/ClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ private function expectRequest($method, $url, Response $response)
342342

343343
private function createResponse($body = '')
344344
{
345-
return new Response('HTTP/1.0', 200, 'OK', null, new Body($body));
345+
return new Response('HTTP/1.0', 200, 'OK', array(), new Body($body));
346346
}
347347

348348
private function createResponseJson($json)

tests/Io/ResponseParserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function testEmpty()
3232

3333
private function createResponse($body = '')
3434
{
35-
return new Response('HTTP/1.0', 200, 'OK', null, new Body($body));
35+
return new Response('HTTP/1.0', 200, 'OK', array(), new Body($body));
3636
}
3737

3838
}

0 commit comments

Comments
 (0)