@@ -18,7 +18,7 @@ |
||
| 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 | $service = new \Lii\Service\UserInfoService(); |
| 23 | 23 | $service->setDi($this); |
| 24 | 24 | |
@@ -18,7 +18,7 @@ |
||
| 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 | $service = new \Lii\Service\ApiKeyService(); |
| 23 | 23 | |
| 24 | 24 | // Load the configuration file(s) |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | { |
| 59 | 59 | // Deal with the action and return a response. |
| 60 | 60 | $json = [ |
| 61 | - "message" => __METHOD__ . ", \$db is {$this->db}", |
|
| 61 | + "message" => __METHOD__.", \$db is {$this->db}", |
|
| 62 | 62 | ]; |
| 63 | 63 | return [$json]; |
| 64 | 64 | } |
@@ -157,8 +157,4 @@ |
||
| 157 | 157 | ]; |
| 158 | 158 | $page->add("Lii/default", $data); |
| 159 | 159 | |
| 160 | - return $page->render([ |
|
| 161 | - "title" => __METHOD__, |
|
| 162 | - ]); |
|
| 163 | - } |
|
| 164 | -} |
|
| 160 | + return $page->render |
|
| 165 | 161 | \ No newline at end of file |