@@ -87,7 +87,7 @@ |
||
87 | 87 | * @param mixed $matches parameters from request |
88 | 88 | * @param mixed $parameters expected parameters from route |
89 | 89 | |
90 | - * @return array parametrs in right order, if there are not any parametrs an empty array is returned |
|
90 | + * @return callable parametrs in right order, if there are not any parametrs an empty array is returned |
|
91 | 91 | */ |
92 | 92 | private function _getFunctionArguments($paramMap, $matches, $parameters) { |
93 | 93 | $output = []; |
@@ -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; |