@@ -51,7 +51,7 @@ |
||
51 | 51 | * @param string $uri URI to render. |
52 | 52 | * @param array $context Context in which to render. |
53 | 53 | * |
54 | - * @return callable Rendering callback. |
|
54 | + * @return \Closure Rendering callback. |
|
55 | 55 | * @throws FailedToLoadView If the View URI is not accessible or readable. |
56 | 56 | * @throws FailedToLoadView If the View URI could not be loaded. |
57 | 57 | */ |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | * @since 0.1.0 |
95 | 95 | * |
96 | 96 | * @param string $view View identifier to create a view for. |
97 | - * @param mixed $type Type of view to create. |
|
97 | + * @param string|null $type Type of view to create. |
|
98 | 98 | * |
99 | 99 | * @return View Instance of the requested view. |
100 | 100 | */ |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | * |
196 | 196 | * @since 0.1.0 |
197 | 197 | * |
198 | - * @param array $criteria Criteria to match. |
|
198 | + * @param string[] $criteria Criteria to match. |
|
199 | 199 | * |
200 | 200 | * @return string|false URI of the requested view, or false if not found. |
201 | 201 | */ |
@@ -277,6 +277,7 @@ discard block |
||
277 | 277 | * |
278 | 278 | * @since 0.2.0 |
279 | 279 | * |
280 | + * @param ConfigInterface $config |
|
280 | 281 | * @return ConfigInterface Configuration passed in through the constructor. |
281 | 282 | */ |
282 | 283 | protected function getConfig($config = null) |