Passed
Branch master (293701)
by refat
04:14
created
App/Middlewares/AjaxMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 {
10 10
   public function handle(Application $app, $next)
11 11
   {
12
-    if(empty($_SERVER['HTTP_X_REQUESTED_WITH'])) {
12
+    if (empty($_SERVER['HTTP_X_REQUESTED_WITH'])) {
13 13
       return $app->url->redirectTo('404');
14 14
     }
15 15
     return $next;
Please login to merge, or discard this patch.
Core/System/View.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -132,8 +132,8 @@
 block discarded – undo
132 132
 
133 133
     foreach ($parameters as $parameter) {
134 134
       $name = $parameter;
135
-      $length =  strpos($url, $parameter) + strlen($parameter);
136
-      $link =  substr($url, 0, $length);
135
+      $length = strpos($url, $parameter) + strlen($parameter);
136
+      $link = substr($url, 0, $length);
137 137
 
138 138
       $return[] = [
139 139
         'name' => $name,
Please login to merge, or discard this patch.