@@ -228,7 +228,7 @@ |
||
| 228 | 228 | $parameters = $this->_extractVariableRouteParts($route); |
| 229 | 229 | if (isset($parameters)) { |
| 230 | 230 | foreach ($parameters as $variables) { |
| 231 | - list($valueToReplace, , $parametersVariables) = array_pad($variables, 3, null); |
|
| 231 | + list($valueToReplace,, $parametersVariables) = array_pad($variables, 3, null); |
|
| 232 | 232 | if (isset($parametersVariables)) { |
| 233 | 233 | $route = str_replace($valueToReplace, '('.reset($parametersVariables).')', $route); |
| 234 | 234 | } else { |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | { |
| 37 | 37 | $class = get_called_class(); |
| 38 | 38 | if (!array_key_exists($class, self::$cache)) { |
| 39 | - $reflection = new \ReflectionClass($class); |
|
| 39 | + $reflection = new \ReflectionClass($class); |
|
| 40 | 40 | self::$cache[$class] = $reflection->getConstants(); |
| 41 | 41 | } |
| 42 | 42 | |
@@ -52,6 +52,6 @@ discard block |
||
| 52 | 52 | { |
| 53 | 53 | $allItems = array_flip(self::toArray()); |
| 54 | 54 | |
| 55 | - return isset($allItems[$value]) ? true:false; |
|
| 55 | + return isset($allItems[$value]) ? true : false; |
|
| 56 | 56 | } |
| 57 | 57 | } |
@@ -174,7 +174,6 @@ discard block |
||
| 174 | 174 | * @param mixed $parameters route parameters |
| 175 | 175 | * @param mixed $handler handler that should be executed |
| 176 | 176 | * @param mixed $matches found matched variables |
| 177 | - |
|
| 178 | 177 | * @return mixed |
| 179 | 178 | */ |
| 180 | 179 | private function _resolveNamespace($parameters, $handler, $matches) { |
@@ -221,7 +220,6 @@ discard block |
||
| 221 | 220 | * @param mixed $matches found matched variables |
| 222 | 221 | * @param mixed $parameters route parameters |
| 223 | 222 | * @param mixed $handlers handler that should be executed |
| 224 | - |
|
| 225 | 223 | * @return mixed |
| 226 | 224 | */ |
| 227 | 225 | private function _getFunctionArgumentsControlers($paramMap, $matches, $parameters, $handlers) { |