We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab7dbe4 commit 126cba6Copy full SHA for 126cba6
2 files changed
dHttp/Client.php
@@ -27,7 +27,7 @@ class Client
27
/**
28
* Construct
29
*
30
- * @param null $url
+ * @param string $url
31
* @param array $options
32
* @throws \Exception
33
*/
tests/dHttpTest.php
@@ -31,7 +31,7 @@ public function testPostRequest()
{
$http = new dHttp\Client('http://php.net');
$resp = $http->post([], [CURLOPT_HEADER => true]);
34
-
+
35
$this->assertInstanceOf('dHttp\Response', $resp);
36
$this->assertEquals($resp->getCode(), 200);
37
}
0 commit comments