@@ -99,7 +99,7 @@ |
||
99 | 99 | } |
100 | 100 | ?> |
101 | 101 | |
102 | -<?=$contentJSON;?> |
|
102 | +<?=$contentJSON; ?> |
|
103 | 103 | |
104 | 104 | <p>Skriv in en ip-adress eller longitud och latitud för den plats du vill kolla väderprognos för</p> |
105 | 105 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | "services" => [ |
4 | 4 | "ipstack" => [ |
5 | 5 | "shared" => true, |
6 | - "callback" => function () { |
|
6 | + "callback" => function() { |
|
7 | 7 | $getConfig = $this->get("configuration"); |
8 | 8 | $config = $getConfig->load("weather_api_keys.php"); |
9 | 9 | $apiKey = $config["config"]["ipstack"]; |
@@ -3,7 +3,7 @@ |
||
3 | 3 | "services" => [ |
4 | 4 | "curl" => [ |
5 | 5 | "shared" => true, |
6 | - "callback" => function () { |
|
6 | + "callback" => function() { |
|
7 | 7 | $getConfig = $this->get("configuration"); |
8 | 8 | $curl = new \Anax\DI\Curl(); |
9 | 9 | $curl->setDi($this); |
@@ -3,7 +3,7 @@ |
||
3 | 3 | "services" => [ |
4 | 4 | "darksky" => [ |
5 | 5 | "shared" => true, |
6 | - "callback" => function () { |
|
6 | + "callback" => function() { |
|
7 | 7 | $getConfig = $this->get("configuration"); |
8 | 8 | $config = $getConfig->load("weather_api_keys.php"); |
9 | 9 | $apiKey = $config["config"]["darksky"]; |