Completed
Push — master ( f62fbf...a22572 )
by
unknown
12s
created
api/v1/index.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,7 @@
 block discarded – undo
20 20
     if($res === false)
21 21
     {
22 22
         $app->response->setStatus(403);
23
-    }
24
-    else
23
+    } else
25 24
     {
26 25
         echo json_encode($res);
27 26
     }
Please login to merge, or discard this patch.
class.SecurePage.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,8 +14,7 @@
 block discarded – undo
14 14
         if($ret === false || strlen($ret) === 0)
15 15
         {
16 16
             return '/';
17
-        }
18
-        else if($ret[strlen($ret)-1] !== '/')
17
+        } else if($ret[strlen($ret)-1] !== '/')
19 18
         {
20 19
             $ret .= '/';
21 20
         }
Please login to merge, or discard this patch.