Passed
Push — master ( 145379...16ef67 )
by Marcelo
06:15
created
src/JsonInterface.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
     public function get($path, array $data = []);
16 16
 
17 17
     /**
18
-     * @param string $path
19 18
      * @param array $data
20 19
      *
21 20
      * @throws Exception
Please login to merge, or discard this patch.
tests/JsonTest.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -250,6 +250,9 @@
 block discarded – undo
250 250
         return $this->mockResponseBody('{"foo":"bar"}')->reveal();
251 251
     }
252 252
 
253
+    /**
254
+     * @param string $responseBody
255
+     */
253 256
     private function mockResponseBody($responseBody)
254 257
     {
255 258
         $response = $this->prophesize(ResponseInterface::class);
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Brofist\ApiClient\JsonInterface;
8 8
 use GuzzleHttp\Client as HttpClient;
9 9
 use GuzzleHttp\Exception\RequestException;
10
-use GuzzleHttp\Psr7\Request;
11 10
 use PHPUnit_Framework_TestCase;
12 11
 use Psr\Http\Message\RequestInterface;
13 12
 use Psr\Http\Message\ResponseInterface;
Please login to merge, or discard this patch.