@@ -155,6 +155,9 @@ discard block |
||
| 155 | 155 | */ |
| 156 | 156 | protected $variables = []; |
| 157 | 157 | |
| 158 | + /** |
|
| 159 | + * @param string $path |
|
| 160 | + */ |
|
| 158 | 161 | public function __construct($path, $action) { |
| 159 | 162 | $this->setPath($path); |
| 160 | 163 | $this->setAction($action); |
@@ -469,7 +472,7 @@ discard block |
||
| 469 | 472 | /** |
| 470 | 473 | * Checks whether the parameter exists |
| 471 | 474 | * @param string $name |
| 472 | - * @return mixed |
|
| 475 | + * @return boolean |
|
| 473 | 476 | */ |
| 474 | 477 | public function hasParameter($name) |
| 475 | 478 | { |