@@ -2,7 +2,6 @@ |
||
| 2 | 2 | namespace Kambo\Router\Dispatchers; |
| 3 | 3 | |
| 4 | 4 | use Kambo\Router\Dispatchers\Interfaces\DispatcherInterface; |
| 5 | - |
|
| 6 | 5 | use Kambo\Router\Route\Route; |
| 7 | 6 | |
| 8 | 7 | /** |
@@ -86,7 +86,6 @@ |
||
| 86 | 86 | * @param mixed $paramMap parameter map - that will be used for getting proper order |
| 87 | 87 | * @param mixed $matches parameters from request |
| 88 | 88 | * @param mixed $parameters expected parameters from route |
| 89 | - |
|
| 90 | 89 | * @return array parametrs in right order, if there are not any parametrs an empty array is returned |
| 91 | 90 | */ |
| 92 | 91 | private function _getFunctionArguments($paramMap, $matches, $parameters) { |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | namespace Kambo\Router\Dispatchers; |
| 3 | 3 | |
| 4 | 4 | use Kambo\Router\Dispatchers\Interfaces\DispatcherInterface; |
| 5 | - |
|
| 6 | 5 | use Kambo\Router\Route\Route; |
| 7 | 6 | |
| 8 | 7 | /** |
@@ -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) { |
@@ -18,7 +18,6 @@ |
||
| 18 | 18 | |
| 19 | 19 | use Kambo\Router\Dispatchers\Interfaces\DispatcherInterface; |
| 20 | 20 | use Kambo\Router\Route\RouteCollection; |
| 21 | - |
|
| 22 | 21 | use Kambo\Router\Enum\Method; |
| 23 | 22 | use Kambo\Router\Enum\RouteMode; |
| 24 | 23 | |
@@ -188,7 +188,7 @@ |
||
| 188 | 188 | |
| 189 | 189 | list($routeRegex, $parameters) = $this->_transformRoute($routeUrl); |
| 190 | 190 | $route->setParsed($routeRegex) |
| 191 | - ->setParameters($parameters); |
|
| 191 | + ->setParameters($parameters); |
|
| 192 | 192 | } |
| 193 | 193 | |
| 194 | 194 | return $routes; |