Completed
Push — upgrade-3.0-refacto ( fdaaea )
by Tristan
13:01
created
Api/Search.php 2 patches
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,8 +36,7 @@
 block discarded – undo
36 36
     private $cache;
37 37
 
38 38
     /**
39
-     * @param Client $client The http client
40
-     * @param Cache  $cache  The Doctrine Cache interface
39
+     * @param RestClient $client The http client
41 40
      */
42 41
     public function __construct(RestClient $client)
43 42
     {
Please login to merge, or discard this patch.
Unused Use Statements   -9 removed lines patch added patch discarded remove patch
@@ -8,17 +8,8 @@
 block discarded – undo
8 8
 
9 9
 namespace Tristanbes\MyPoseoBundle\Api;
10 10
 
11
-use Http\Client\Common\PluginClient;
12
-use Http\Client\HttpClient;
13 11
 use Doctrine\Common\Cache\Cache;
14
-use Http\Discovery\MessageFactoryDiscovery;
15
-use Http\Message\Authentication\QueryParam;
16
-use Http\Client\Common\Plugin\AuthenticationPlugin;
17
-
18
-use Psr\Http\Message\RequestInterface;
19
-use Psr\Http\Message\ResponseInterface;
20 12
 use Tristanbes\MyPoseoBundle\Connection\RestClient;
21
-use Tristanbes\MyPoseoBundle\Exception\NotEnoughCreditsException;
22 13
 
23 14
 /**
24 15
  * @see http://fr.myposeo.com/nos-api/api-search/
Please login to merge, or discard this patch.
Connection/RestClient.php 2 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,9 +88,10 @@
 block discarded – undo
88 88
     /**
89 89
      * Sends the API request if cache not hit
90 90
      *
91
-     * @param RequestInterface $request
92 91
      * @param string           $cacheKey
93 92
      * @param integer          $ttl
93
+     * @param string $method
94
+     * @param string $uri
94 95
      *
95 96
      * @throws NotEnoughCreditsException
96 97
      *
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use Psr\Http\Message\ResponseInterface;
16 16
 use Http\Client\Common\Plugin\AuthenticationPlugin;
17 17
 use Http\Message\Authentication\QueryParam;
18
-
19 18
 use Tristanbes\MyPoseoBundle\Exception\NotEnoughCreditsException;
20 19
 
21 20
 /**
Please login to merge, or discard this patch.