@@ -42,7 +42,7 @@ |
||
| 42 | 42 | protected function getHistory(float $lon, float $lat) : array |
| 43 | 43 | { |
| 44 | 44 | $urls = []; |
| 45 | - for ($i=1; $i <= 5; $i++) { |
|
| 45 | + for ($i = 1; $i <= 5; $i++) { |
|
| 46 | 46 | $time = time() - $i * 24 * 60 * 60; |
| 47 | 47 | $url = $this->url . "onecall/timemachine?lat=$lat&lon=$lon&dt=$time&units=metric"; |
| 48 | 48 | |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | return [ |
| 4 | 4 | "services" => [ |
| 5 | 5 | "ipValidator" => [ |
| 6 | - "callback" => function () { |
|
| 6 | + "callback" => function() { |
|
| 7 | 7 | $service = new \Teca\IpValidator\IpValidator(); |
| 8 | 8 | $service->setDi($this); |
| 9 | 9 | |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | return [ |
| 4 | 4 | "services" => [ |
| 5 | 5 | "weather" => [ |
| 6 | - "callback" => function () { |
|
| 6 | + "callback" => function() { |
|
| 7 | 7 | $service = new \Teca\Weather\Weather(); |
| 8 | 8 | $service->setDi($this); |
| 9 | 9 | |