Test Setup Failed
Push — master ( f21594...860cfe )
by Lydia
02:48
created
src/Model/GeoTag.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         }
34 34
 
35 35
         for ($i = 0; $i < count($dates); $i++) {
36
-            $details =      json_decode(file_get_contents("https://api.darksky.net/forecast/{$apiKey["darksky"]["key"]}/{$lat},{$long},{$dates[$i]}?lang=sv&units=si"));
36
+            $details = json_decode(file_get_contents("https://api.darksky.net/forecast/{$apiKey["darksky"]["key"]}/{$lat},{$long},{$dates[$i]}?lang=sv&units=si"));
37 37
 
38 38
             $time[] = $details->currently->time;
39 39
             $weather[] = $details->currently->summary;
Please login to merge, or discard this patch.
config/di/coordinates.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
             // Callback executed when service is activated
19 19
             // Create the service, load its configuration (if any)
20 20
             // and set it up.
21
-            "callback" => function () {
21
+            "callback" => function() {
22 22
                 $cfg = $this->get("configuration");
23 23
                 $config = $cfg->load("api.php");
24 24
                 $coordinates = new \Anax\Model\Coordinates($config["config"]["opencage"]);
Please login to merge, or discard this patch.
config/di/ip.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
             // Callback executed when service is activated
19 19
             // Create the service, load its configuration (if any)
20 20
             // and set it up.
21
-            "callback" => function () {
21
+            "callback" => function() {
22 22
                 $cfg = $this->get("configuration");
23 23
                 $config = $cfg->load("api.php");
24 24
                 $ip = new \Anax\Model\IpValidator($config["config"]["ipstack"]);
Please login to merge, or discard this patch.
config/di/weather.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
             // Callback executed when service is activated
19 19
             // Create the service, load its configuration (if any)
20 20
             // and set it up.
21
-            "callback" => function () {
21
+            "callback" => function() {
22 22
                 $cfg = $this->get("configuration");
23 23
                 $config = $cfg->load("api.php");
24 24
                 $weather = new \Anax\Model\GeoTag($config["config"]["darksky"]);
Please login to merge, or discard this patch.