Completed
Push — master ( 691ef6...986102 )
by Patrick
43s
created
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.
api/v1/class.SecureAPI.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,8 +19,7 @@
 block discarded – undo
19 19
         if($res === false)
20 20
         {
21 21
             return $response->withStatus(403);
22
-        }
23
-        else
22
+        } else
24 23
         {
25 24
             return $response->withJson($res);
26 25
         }
Please login to merge, or discard this patch.
Autoload.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,7 @@
 block discarded – undo
2 2
 if(file_exists(__DIR__ . '/vendor/autoload.php'))
3 3
 {
4 4
     require __DIR__ . '/vendor/autoload.php';
5
-}
6
-else if(file_exists(__DIR__ . '/../common/Autoload.php'))
5
+} else if(file_exists(__DIR__ . '/../common/Autoload.php'))
7 6
 {
8 7
     require(__DIR__ . '/../common/Autoload.php');
9 8
 }
Please login to merge, or discard this patch.