Completed
Push — upgrade-3.0-refacto ( 0b6538...3ce03e )
by Tristan
05:23
created
Connection/RestClient.php 2 patches
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.
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -157,8 +157,8 @@  discard block
 block discarded – undo
157 157
     /**
158 158
      * @param string $endpointUrl
159 159
      * @param array  $queryString
160
-     * @param null   $cacheKey
161
-     * @param null   $ttl
160
+     * @param string   $cacheKey
161
+     * @param integer|null   $ttl
162 162
      *
163 163
      * @return ResponseInterface
164 164
      */
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
     }
198 198
 
199 199
     /**
200
-     * @param $uri
200
+     * @param string $uri
201 201
      *
202 202
      * @return string
203 203
      */
Please login to merge, or discard this patch.
Api/Search.php 1 patch
Unused Use Statements   -10 removed lines patch added patch discarded remove patch
@@ -8,17 +8,7 @@
 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
-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 11
 use Tristanbes\MyPoseoBundle\Connection\RestClient;
21
-use Tristanbes\MyPoseoBundle\Exception\NotEnoughCreditsException;
22 12
 
23 13
 /**
24 14
  * @see http://fr.myposeo.com/nos-api/api-search/
Please login to merge, or discard this patch.