Completed
Pull Request — guzzle-5 (#35)
by Harry
03:20
created
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.
src/Client.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      * {@inheritdoc}
80 80
      *
81 81
      * @link   http://www.jsonrpc.org/specification#request_object
82
-     * @param  mixed            $id
82
+     * @param  string            $id
83 83
      * @param  string           $method
84 84
      * @param  array            $params
85 85
      * @return RequestInterface
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
      * {@inheritdoc}
99 99
      *
100 100
      * @param  RequestInterface       $request
101
-     * @return ResponseInterface|null
101
+     * @return \GuzzleHttp\Message\ResponseInterface|null
102 102
      */
103 103
     public function send(RequestInterface $request)
104 104
     {
Please login to merge, or discard this patch.