Passed
Branch master (3ad5d4)
by refat
26:57
created
Core/System/View.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
     $results = [];
123 123
 
124 124
     foreach ($parameters as $parameter) {
125
-      $name = str_replace('-', ' ', $parameter);;
125
+      $name = str_replace('-', ' ', $parameter); ;
126 126
 
127 127
       $length = strpos($url, $parameter) + strlen($parameter);
128 128
 
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,9 @@
 block discarded – undo
113 113
   {
114 114
     $url = $this->app->request->url();
115 115
 
116
-    if ($url === '/') return;
116
+    if ($url === '/') {
117
+      return;
118
+    }
117 119
 
118 120
     $parameters = explode('/', $url);
119 121
 
Please login to merge, or discard this patch.
routes/website/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
 // Home
8 10
 $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
 // Home
8 10
 $adminOptions = [
Please login to merge, or discard this patch.