Passed
Push — master ( 0df73e...66e789 )
by Kristoffer
13:19
created
src/Controller/APIMockController.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,8 +36,7 @@
 block discarded – undo
36 36
         $darksky = new \Linder\Mock\DarkSkyMock();
37 37
         $url = $this->di->request->getCurrentUrl();
38 38
         $res = (strpos($url, "?exclude=currently,flags") || $this->di->request->getGet("type") == "past") ?
39
-            $darksky->getWeatherPast() :
40
-            $darksky->getWeatherComing();
39
+            $darksky->getWeatherPast() : $darksky->getWeatherComing();
41 40
         return $res;
42 41
     }
43 42
 }
Please login to merge, or discard this patch.