Passed
Push — master ( 59dacf...556cea )
by Luka
16:20 queued 14s
created
src/Action.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
         $this->is_wildcard = in_array(self::WILDCARD, $available_extensions, true);
54 54
         $this->available_extensions
55 55
             = empty($available_extensions) ? ['' => true]
56
-            : array_fill_keys($available_extensions, true) ;
56
+            : array_fill_keys($available_extensions, true);
57 57
     }
58 58
 
59 59
     /**
Please login to merge, or discard this patch.
src/Router.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
         $split_path = array_values(array_filter(explode('/', $path), 'strlen'));
70 70
         $count = count($split_path);
71 71
 
72
-        $ext  = '';
72
+        $ext = '';
73 73
 
74 74
         if ($count > 0) {
75 75
             $file = explode('.', $split_path[$count - 1], 2);
@@ -134,12 +134,12 @@  discard block
 block discarded – undo
134 134
 
135 135
         $method = array_shift($action_tuple);
136 136
         $path   = array_shift($action_tuple);
137
-        $value  = array_shift($action_tuple) ?: true ;
138
-        $params = array_shift($action_tuple) ?: [] ;
137
+        $value  = array_shift($action_tuple) ?: true;
138
+        $params = array_shift($action_tuple) ?: [];
139 139
         $action = Action::create($method, $path, $value, $ext, $params);
140 140
 
141 141
         if (!empty($action->param_pos)) {
142
-            $count  = count($action->split_path);
142
+            $count = count($action->split_path);
143 143
             if (!isset($this->variable_actions[$count])) {
144 144
                 $this->variable_actions[$count] = [];
145 145
             }
Please login to merge, or discard this patch.