@@ -88,7 +88,7 @@ |
||
88 | 88 | /** |
89 | 89 | * Set the HTTP methods allowed by the current request. |
90 | 90 | * |
91 | - * @param array $methods Case-sensitive array of methods. |
|
91 | + * @param string[] $methods Case-sensitive array of methods. |
|
92 | 92 | * @return self |
93 | 93 | */ |
94 | 94 | protected function setMethods(array $methods) |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | /** |
136 | 136 | * Add a record handler to use. |
137 | 137 | * |
138 | - * @param array $handler The record handler structure. |
|
138 | + * @param string $handler The record handler structure. |
|
139 | 139 | * @param string|null $key The handler's key. |
140 | 140 | * @throws InvalidArgumentException If the handler is invalid. |
141 | 141 | * @return self |
@@ -197,7 +197,7 @@ discard block |
||
197 | 197 | /** |
198 | 198 | * Add a record processor to use. |
199 | 199 | * |
200 | - * @param array $processor The record processor structure. |
|
200 | + * @param string $processor The record processor structure. |
|
201 | 201 | * @param string|null $key The processor's key. |
202 | 202 | * @throws InvalidArgumentException If the processor is invalid. |
203 | 203 | * @return self |
@@ -129,7 +129,7 @@ |
||
129 | 129 | /** |
130 | 130 | * Retrieve the final handler data for rendering the view. |
131 | 131 | * |
132 | - * @return array Finalized template data. |
|
132 | + * @return string Finalized template data. |
|
133 | 133 | */ |
134 | 134 | final protected function templatePartial() |
135 | 135 | { |