Completed
Pull Request — guzzle-5 (#31)
by Harry
03:35
created
src/Client.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
      * {@inheritdoc}
95 95
      *
96 96
      * @param  RequestInterface       $request
97
-     * @return ResponseInterface|null
97
+     * @return \GuzzleHttp\Message\ResponseInterface|null
98 98
      */
99 99
     public function send(RequestInterface $request)
100 100
     {
Please login to merge, or discard this patch.
src/Message/MessageFactory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      * {@inheritdoc}
24 24
      *
25 25
      * @param string     $method  HTTP method (GET, POST, PUT, etc.)
26
-     * @param string|Url $url     HTTP URL to connect to
26
+     * @param string $url     HTTP URL to connect to
27 27
      * @param array      $options Array of options to apply to the request
28 28
      *
29 29
      * @return RequestInterface
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      *
52 52
      * @param string $statusCode HTTP status code
53 53
      * @param array  $headers    Response headers
54
-     * @param mixed  $body       Response body
54
+     * @param string  $body       Response body
55 55
      * @param array  $options    Response options
56 56
      *     - protocol_version: HTTP protocol version
57 57
      *     - header_factory: Factory used to create headers
Please login to merge, or discard this patch.
test/unit/ClientTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 
15 15
 use Graze\GuzzleHttp\JsonRpc\Message\RequestInterface;
16 16
 use Graze\GuzzleHttp\JsonRpc\Test\UnitTestCase;
17
-use Mockery;
18 17
 
19 18
 class ClientTest extends UnitTestCase
20 19
 {
Please login to merge, or discard this patch.
test/unit/Message/RequestTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
  */
13 13
 namespace Graze\GuzzleHttp\JsonRpc\Message;
14 14
 
15
-use Graze\GuzzleHttp\JsonRpc\ClientInterface;
16 15
 use Graze\GuzzleHttp\JsonRpc\Test\UnitTestCase;
17 16
 
18 17
 class RequestTest extends UnitTestCase
Please login to merge, or discard this patch.
test/unit/Message/ResponseTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
  */
13 13
 namespace Graze\GuzzleHttp\JsonRpc\Message;
14 14
 
15
-use Graze\GuzzleHttp\JsonRpc\ClientInterface;
16 15
 use Graze\GuzzleHttp\JsonRpc\Test\UnitTestCase;
17 16
 
18 17
 class ResponseTest extends UnitTestCase
Please login to merge, or discard this patch.