Passed
Push — main ( 02ee39...3cf561 )
by Johan
07:28
created
config/di/keystore.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
         "keystore" => [
9 9
             "shared" => true,
10 10
             //"callback" => "\Anax\Response\Response",
11
-            "callback" => function () {
11
+            "callback" => function() {
12 12
                 $keystore = new \Lefty\KeyStore\KeyStore();
13 13
                 $keystore->setDI($this);
14 14
 
Please login to merge, or discard this patch.
config/keystore.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 return [
4 4
     "keys" => [
5
-        "ipstack" =>  file_get_contents(ANAX_INSTALL_PATH."/data/PRIVATE_TOKEN"),
6
-        "openweathermap" =>  file_get_contents(ANAX_INSTALL_PATH."/data/PRIVATE_TOKEN2"),
5
+        "ipstack" =>  file_get_contents(ANAX_INSTALL_PATH . "/data/PRIVATE_TOKEN"),
6
+        "openweathermap" =>  file_get_contents(ANAX_INSTALL_PATH . "/data/PRIVATE_TOKEN2"),
7 7
     ]
8 8
 ];
Please login to merge, or discard this patch.
src/Weather/WeatherControllerAPI.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     */
55 55
     public function indexActionGet(): array
56 56
     {
57
-        $request     = $this->di->get("request");
57
+        $request = $this->di->get("request");
58 58
         $iptocheck = $request->getGet("ip") ?? "";
59 59
 
60 60
 
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
     */
105 105
     public function indexActionPost(): array
106 106
     {
107
-        $request     = $this->di->get("request");
107
+        $request = $this->di->get("request");
108 108
         $iptocheck = $request->getPost("ip") ?? "";
109 109
 
110 110
 
Please login to merge, or discard this patch.