Passed
Branch master (d0548b)
by Christopher
05:02
created
Category
config/di/curl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
     "services" => [
9 9
         "curl" => [
10 10
             "shared" => true,
11
-            "callback" => function () {
11
+            "callback" => function() {
12 12
                 $cache = $this->get("cache");
13 13
                 $curl = new \Anax\Curl\Curl($cache);
14 14
 
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
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
     "services" => [
9 9
         "weather" => [
10 10
             "shared" => true,
11
-            "callback" => function () {
11
+            "callback" => function() {
12 12
                 $curl = $this->get("curl");
13 13
                 $cfg = $this->get("configuration");
14 14
                 $locationProvider = $this->get("location");
Please login to merge, or discard this patch.
config/di/location.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
     "services" => [
9 9
         "location" => [
10 10
             "shared" => true,
11
-            "callback" => function () {
11
+            "callback" => function() {
12 12
                 $curl = $this->get("curl");
13 13
                 $cfg = $this->get("configuration");
14 14
 
Please login to merge, or discard this patch.
src/WeatherService/DarkSky.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
         $data = [];
79 79
 
80 80
 
81
-        for ($i=1; $i < 31; $i++) {
81
+        for ($i = 1; $i < 31; $i++) {
82 82
             $old = date_create($today)->modify(-$i . ' days')->format('Y-m-d');
83 83
             $fetchURL = $baseUrl . $this->apiKey . "/" . $this->lat . "," . $this->long . "," . $old . "T12:00:00" . "?units=si";
84 84
             array_push($urls, $fetchURL);
Please login to merge, or discard this patch.