Completed
Pull Request — master (#2)
by lee
02:20
created
src/YahooWeatherAPI.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -211,7 +211,7 @@
 block discarded – undo
211 211
     }
212 212
 
213 213
     /**
214
-     * @param GoutteClient $client
214
+     * @param Client $client
215 215
      */
216 216
     public function setClient(Client $client)
217 217
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,6 @@
 block discarded – undo
11 11
 namespace Th3Mouk\YahooWeatherAPI;
12 12
 
13 13
 use GuzzleHttp\Client;
14
-use Psr\Http\Message\ResponseInterface as Response;
15
-use Psr\Http\Message\ServerRequestInterface as Request;
16 14
 use Th3Mouk\YahooWeatherAPI\Query\Query;
17 15
 
18 16
 class YahooWeatherAPI implements YahooWeatherAPIInterface
Please login to merge, or discard this patch.
tests/YahooWeatherClientTests.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -302,6 +302,9 @@
 block discarded – undo
302 302
         return $service->getYql();
303 303
     }
304 304
 
305
+    /**
306
+     * @param string $url
307
+     */
305 308
     public function encodeURI($url)
306 309
     {
307 310
         $unescaped = array(
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
         try {
75 75
             $response = $service->callApi($errYql);
76 76
         } catch (\Exception $e) {
77
-           throw $e;
77
+            throw $e;
78 78
         }
79 79
     }
80 80
 
Please login to merge, or discard this patch.