@@ -36,8 +36,7 @@ |
||
| 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 | } |