Completed
Push — master ( 0570a2...e72b03 )
by Maxim
02:24
created
src/router/Routes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -118,10 +118,10 @@
 block discarded – undo
118 118
              * @var int $k
119 119
              * @var array $route
120 120
              */
121
-            foreach ((array)$this->config as $k => $route) {
121
+            foreach ((array) $this->config as $k => $route) {
122 122
                 if ($route[1] === $beforeRoute) {
123 123
                     $k > 1
124
-                        ? \array_splice($this->config, $k-1, 0, $routeDefinition)
124
+                        ? \array_splice($this->config, $k - 1, 0, $routeDefinition)
125 125
                         : \array_unshift($this->config, $routeDefinition);
126 126
                 }
127 127
             }
Please login to merge, or discard this patch.