Completed
Pull Request — master (#2)
by lee
04:31
created
tests/YahooWeatherClientTests.php 2 patches
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.
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -31,8 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
         try {
33 33
             $response = $service->callApiWoeid(null);
34
-        }
35
-        catch(\Exception $e) {
34
+        } catch(\Exception $e) {
36 35
            throw $e;
37 36
         }
38 37
     }
@@ -46,8 +45,7 @@  discard block
 block discarded – undo
46 45
 
47 46
         try {
48 47
             $response = $service->callApiCityName(null);
49
-        }
50
-        catch(\Exception $e) {
48
+        } catch(\Exception $e) {
51 49
            throw $e;
52 50
         }
53 51
     }
@@ -61,8 +59,7 @@  discard block
 block discarded – undo
61 59
 
62 60
         try {
63 61
             $response = $service->callApi(null);
64
-        }
65
-        catch(\Exception $e) {
62
+        } catch(\Exception $e) {
66 63
            throw $e;
67 64
         }
68 65
     }
@@ -78,8 +75,7 @@  discard block
 block discarded – undo
78 75
         
79 76
         try {
80 77
             $response = $service->callApi($errYql);
81
-        }
82
-        catch(\Exception $e) {
78
+        } catch(\Exception $e) {
83 79
           throw $e;
84 80
         }
85 81
     }
Please login to merge, or discard this patch.