@@ -7,7 +7,7 @@ |
||
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"); |
@@ -7,7 +7,7 @@ |
||
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"); |
@@ -7,7 +7,7 @@ |
||
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 | } |
@@ -7,7 +7,7 @@ |
||
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 | } |
@@ -7,7 +7,7 @@ |
||
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 | } |
@@ -7,7 +7,7 @@ |
||
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"); |
@@ -7,7 +7,7 @@ |
||
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 | } |
@@ -179,7 +179,7 @@ |
||
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 |