Completed
Pull Request — master (#2)
by lee
02:15
created
src/YahooWeatherAPI.php 1 patch
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.
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   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
             $response = $service->callApiWoeid(null);
34 34
         }
35 35
         catch(\Exception $e) {
36
-           throw $e;
36
+            throw $e;
37 37
         }
38 38
     }
39 39
 
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
             $response = $service->callApiCityName(null);
49 49
         }
50 50
         catch(\Exception $e) {
51
-           throw $e;
51
+            throw $e;
52 52
         }
53 53
     }
54 54
 
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
             $response = $service->callApi(null);
64 64
         }
65 65
         catch(\Exception $e) {
66
-           throw $e;
66
+            throw $e;
67 67
         }
68 68
     }
69 69
 
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
             $response = $service->callApi($errYql);
81 81
         }
82 82
         catch(\Exception $e) {
83
-          throw $e;
83
+            throw $e;
84 84
         }
85 85
     }
86 86
 
Please login to merge, or discard this patch.