Passed
Push — main ( 66152c...c9d96c )
by Heidi
01:57
created
config/di/weather_prog.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     "services" => [
8 8
         "weather_prog" => [
9 9
             "shared" => true,
10
-            "callback" => function () {
10
+            "callback" => function() {
11 11
                 $weatherProg = new \Hepa19\Weather\WeatherModel();
12 12
                 $curl = new \Hepa19\Curl\Curl();
13 13
                 $cfg = $this->get("configuration");
Please login to merge, or discard this patch.
config/di/ipstack.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     "services" => [
8 8
         "ipstack" => [
9 9
             "shared" => true,
10
-            "callback" => function () {
10
+            "callback" => function() {
11 11
                 $ipstack = new \Hepa19\IPGeo\IPStack();
12 12
                 $curl = new \Hepa19\Curl\Curl();
13 13
                 $cfg = $this->get("configuration");
Please login to merge, or discard this patch.
config/di/validator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     "services" => [
8 8
         "validator" => [
9 9
             "shared" => true,
10
-            "callback" => function () {
10
+            "callback" => function() {
11 11
                 $validator = new \Hepa19\IPGeo\IPGeoValidator();
12 12
                 return $validator;
13 13
             }
Please login to merge, or discard this patch.
config/di/curl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     "services" => [
8 8
         "curl" => [
9 9
             "shared" => true,
10
-            "callback" => function () {
10
+            "callback" => function() {
11 11
                 $curl = new \Hepa19\Curl\Curl();
12 12
                 return $curl;
13 13
             }
Please login to merge, or discard this patch.
config/di/ipgetcurrent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     "services" => [
8 8
         "ipgetcurrent" => [
9 9
             "shared" => true,
10
-            "callback" => function () {
10
+            "callback" => function() {
11 11
                 $ipgetcurrent = new \Hepa19\IPGeo\IPGetCurrent();
12 12
                 return $ipgetcurrent;
13 13
             }
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
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     "services" => [
8 8
         "weather" => [
9 9
             "shared" => true,
10
-            "callback" => function () {
10
+            "callback" => function() {
11 11
                 $weather = new \Hepa19\Weather\WeatherModel();
12 12
                 $curl = new \Hepa19\Curl\Curl();
13 13
                 $cfg = $this->get("configuration");
Please login to merge, or discard this patch.
config/di/map.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     "services" => [
8 8
         "map" => [
9 9
             "shared" => true,
10
-            "callback" => function () {
10
+            "callback" => function() {
11 11
                 $map = new \Hepa19\IPGeo\OpenStreetMap();
12 12
                 return $map;
13 13
             }
Please login to merge, or discard this patch.
src/Weather/WeatherModel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -179,7 +179,7 @@
 block discarded – undo
179 179
                 "temp" => round($day["hourly"][11]["temp"]),
180 180
                 "wind" => round($day["hourly"][11]["wind_speed"]),
181 181
                 "desc" => $day["hourly"][11]["weather"][0]["description"],
182
-                "icon" => "http://openweathermap.org/img/wn/" .  substr($day["hourly"][11]["weather"][0]["icon"], 0, -1) . "[email protected]"
182
+                "icon" => "http://openweathermap.org/img/wn/" . substr($day["hourly"][11]["weather"][0]["icon"], 0, -1) . "[email protected]"
183 183
             ];
184 184
         }
185 185
 
Please login to merge, or discard this patch.