@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | * Add an internal (not exposed to url-matching) route to the router. |
| 75 | 75 | * |
| 76 | 76 | * @param string $rule for this route |
| 77 | - * @param mixed $action null, string or callable to implement a controller for the route |
|
| 77 | + * @param \Closure $action null, string or callable to implement a controller for the route |
|
| 78 | 78 | * |
| 79 | 79 | * @return class as new route |
| 80 | 80 | */ |
@@ -92,7 +92,6 @@ discard block |
||
| 92 | 92 | * Add an internal (not exposed to url-matching) route to the router. |
| 93 | 93 | * |
| 94 | 94 | * @param string $rule for this route |
| 95 | - * @param mixed $action null, string or callable to implement a controller for the route |
|
| 96 | 95 | * |
| 97 | 96 | * @return class as new route |
| 98 | 97 | */ |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | /** |
| 21 | 21 | * Read configuration from file or array'. |
| 22 | 22 | * |
| 23 | - * @param array/string $what is an array with key/value config options or a file |
|
| 23 | + * @param string $what is an array with key/value config options or a file |
|
| 24 | 24 | * to be included which returns such an array. |
| 25 | 25 | * @return $this for chaining. |
| 26 | 26 | */ |
@@ -133,7 +133,7 @@ |
||
| 133 | 133 | * |
| 134 | 134 | * @param string $region which region to check |
| 135 | 135 | * |
| 136 | - * @return $this |
|
| 136 | + * @return boolean |
|
| 137 | 137 | */ |
| 138 | 138 | public function hasContent($region) |
| 139 | 139 | { |