@@ -13,4 +13,4 @@ |
||
13 | 13 | <?php if ($message) : ?> |
14 | 14 | <h4>Error:</h4> |
15 | 15 | <p> <?= $message ?></p> |
16 | -<?php endif;?> |
|
16 | +<?php endif; ?> |
@@ -17,7 +17,7 @@ |
||
17 | 17 | // Callback executed when service is activated |
18 | 18 | // Create the service, load its configuration (if any) |
19 | 19 | // and set it up. |
20 | - "callback" => function () { |
|
20 | + "callback" => function() { |
|
21 | 21 | $ipvalidator = new \Nihl\IPValidator\IPValidator(); |
22 | 22 | |
23 | 23 | return $ipvalidator; |
@@ -17,7 +17,7 @@ |
||
17 | 17 | // Callback executed when service is activated |
18 | 18 | // Create the service, load its configuration (if any) |
19 | 19 | // and set it up. |
20 | - "callback" => function () { |
|
20 | + "callback" => function() { |
|
21 | 21 | $weatherreport = new \Nihl\WeatherReport\WeatherReport(); |
22 | 22 | $weatherreport->setDi($this); |
23 | 23 |
@@ -17,7 +17,7 @@ |
||
17 | 17 | // Callback executed when service is activated |
18 | 18 | // Create the service, load its configuration (if any) |
19 | 19 | // and set it up. |
20 | - "callback" => function () { |
|
20 | + "callback" => function() { |
|
21 | 21 | $curl = new \Nihl\RemoteService\Curl(); |
22 | 22 | |
23 | 23 | return $curl; |
@@ -17,7 +17,7 @@ |
||
17 | 17 | // Callback executed when service is activated |
18 | 18 | // Create the service, load its configuration (if any) |
19 | 19 | // and set it up. |
20 | - "callback" => function () { |
|
20 | + "callback" => function() { |
|
21 | 21 | $geotag = new \Nihl\RemoteService\Geotag(); |
22 | 22 | $geotag->setDi($this); |
23 | 23 |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | ]); |
101 | 101 | $this->page->add("nihl/weatherreport/ipform", ["ip" => $ip]); |
102 | 102 | |
103 | - return $this->page->render([ "title" => $title ]); |
|
103 | + return $this->page->render(["title" => $title]); |
|
104 | 104 | } |
105 | 105 | |
106 | 106 | $this->page->add("nihl/weatherreport/current", $data); |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | ]); |
149 | 149 | $this->page->add("nihl/weatherreport/geoform", []); |
150 | 150 | |
151 | - return $this->page->render([ "title" => $title ]); |
|
151 | + return $this->page->render(["title" => $title]); |
|
152 | 152 | } |
153 | 153 | |
154 | 154 | $this->page->add("nihl/weatherreport/current", $data); |