Passed
Branch master (27f176)
by refat
18:17
created
routes/website/index.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,9 @@
 block discarded – undo
33 33
 $app->pages->add('not found', '/404', 'fas fa-times');
34 34
 
35 35
 // == Website's routes
36
-if ($app->request->isRequestToAdminManagement()) return;
36
+if ($app->request->isRequestToAdminManagement()) {
37
+  return;
38
+}
37 39
 
38 40
 
39 41
 $app->route->add('/', 'Website/Home');
Please login to merge, or discard this patch.
routes/admin/index.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,9 @@
 block discarded – undo
2 2
 
3 3
 $app = app();
4 4
 
5
-if (!$app->request->isRequestToAdminManagement()) return;
5
+if (!$app->request->isRequestToAdminManagement()) {
6
+  return;
7
+}
6 8
 
7 9
 // Rotes admins
8 10
 
Please login to merge, or discard this patch.