@@ -81,8 +81,8 @@ discard block |
||
81 | 81 | /** |
82 | 82 | * Object constructor for injecting dependencies |
83 | 83 | * |
84 | - * @param Kambo\Router\Route\RouteCollection $routeCollection |
|
85 | - * @param Kambo\Router\Dispatchers\Interfaces\DispatcherInterface $dispatcher |
|
84 | + * @param RouteCollection $routeCollection |
|
85 | + * @param DispatcherInterface $dispatcher |
|
86 | 86 | * |
87 | 87 | */ |
88 | 88 | public function __construct(RouteCollection $routeCollection, DispatcherInterface $dispatcher) { |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | /** |
149 | 149 | * Get format for URL resolving. |
150 | 150 | * |
151 | - * @return boolean |
|
151 | + * @return string |
|
152 | 152 | */ |
153 | 153 | public function getUrlFormat() { |
154 | 154 | return $this->_urlFormat; |
@@ -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 { |