We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 126cba6 commit 1b056fdCopy full SHA for 1b056fd
1 file changed
tests/dHttpTest.php
@@ -30,7 +30,7 @@ public function testGetRequest()
30
public function testPostRequest()
31
{
32
$http = new dHttp\Client('http://php.net');
33
- $resp = $http->post([], [CURLOPT_HEADER => true]);
+ $resp = $http->post(array(), array(CURLOPT_HEADER => true));
34
35
$this->assertInstanceOf('dHttp\Response', $resp);
36
$this->assertEquals($resp->getCode(), 200);
0 commit comments