Passed
Push — master ( 7fd069...1d579c )
by Magnus
02:07
created
src/Vader/jsonVaderController.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      * ANY METHOD mountpoint/
68 68
      * ANY METHOD mountpoint/index
69 69
      *
70
-         */
70
+     */
71 71
     // public function indexActionGet()
72 72
     // {
73 73
     //     // $request = $this->di->get("request");
@@ -199,12 +199,12 @@  discard block
 block discarded – undo
199 199
 
200 200
     public function jsonVaderActionPost() : object
201 201
     {
202
-           // $session = $this->di->session;
203
-           // $ipHandler = new \Malm18\IPChecker\IpHandler();
204
-           $request = $this->di->get("request");
205
-           $response = $this->di->get("response");
206
-           $theIP = $request->getPost("ip1");
207
-           $pastOrFuture = $request->getPost("pastOrFuture");
202
+            // $session = $this->di->session;
203
+            // $ipHandler = new \Malm18\IPChecker\IpHandler();
204
+            $request = $this->di->get("request");
205
+            $response = $this->di->get("response");
206
+            $theIP = $request->getPost("ip1");
207
+            $pastOrFuture = $request->getPost("pastOrFuture");
208 208
 
209 209
         // if (!is_null($theIP)) {
210 210
         //     $ipInfo = $ipHandler->checkIP($theIP);
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
         //      // $session->set("type", $ipInfo['type']);
214 214
         // }
215 215
 
216
-           return $response->redirect("json-vader?ip=$theIP&pastOrFuture=$pastOrFuture");
216
+            return $response->redirect("json-vader?ip=$theIP&pastOrFuture=$pastOrFuture");
217 217
     }
218 218
 
219 219
     // public function jsonResultPageActionGet() : object
Please login to merge, or discard this patch.
src/IPChecker/IPJsonController.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      * ANY METHOD mountpoint/
68 68
      * ANY METHOD mountpoint/index
69 69
      *
70
-         */
70
+     */
71 71
     // public function indexActionGet()
72 72
     // {
73 73
     //     // $request = $this->di->get("request");
@@ -181,11 +181,11 @@  discard block
 block discarded – undo
181 181
 
182 182
     public function ipJsonCheckerActionPost() : object
183 183
     {
184
-           // $session = $this->di->session;
185
-           // $ipHandler = new IpHandler();
186
-           $request = $this->di->get("request");
187
-           $response = $this->di->get("response");
188
-           $theIP = $request->getPost("ip1");
184
+            // $session = $this->di->session;
185
+            // $ipHandler = new IpHandler();
186
+            $request = $this->di->get("request");
187
+            $response = $this->di->get("response");
188
+            $theIP = $request->getPost("ip1");
189 189
 
190 190
         // if (!is_null($theIP)) {
191 191
         //     $ipInfo = $ipHandler->checkIP($theIP);
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
         //      // $session->set("type", $ipInfo['type']);
196 196
         // }
197 197
 
198
-           return $response->redirect("ip-json-checker?ip=$theIP");
198
+            return $response->redirect("ip-json-checker?ip=$theIP");
199 199
     }
200 200
 
201 201
     // public function jsonResultPageActionGet() : object
Please login to merge, or discard this patch.