@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | } |
143 | 143 | |
144 | 144 | /** |
145 | - * @return array |
|
145 | + * @return string[] |
|
146 | 146 | */ |
147 | 147 | public function __sleep() |
148 | 148 | { |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | /** |
185 | 185 | * Execute a component method within the page or component. |
186 | 186 | * Called first on a top level component which then passes the call down to the appropriate sub-component (or executes on itself if appropriate). |
187 | - * @param array|string $methodName A methodname in the format subComponent.anotherSubComponent.methodName. Either dotted string as described, or parts in an array. The top level page component shouldn't be included |
|
187 | + * @param string $methodName A methodname in the format subComponent.anotherSubComponent.methodName. Either dotted string as described, or parts in an array. The top level page component shouldn't be included |
|
188 | 188 | * @param array $args |
189 | 189 | * @throws \Exception |
190 | 190 | * @return Response |
@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | } |
215 | 215 | |
216 | 216 | /** |
217 | - * @param $execMethod |
|
217 | + * @param string $execMethod |
|
218 | 218 | * @return string |
219 | 219 | */ |
220 | 220 | public function getExecPath( $execMethod ) |
@@ -322,7 +322,7 @@ discard block |
||
322 | 322 | * Render a child component. |
323 | 323 | * |
324 | 324 | * @param $handle |
325 | - * @return Response |
|
325 | + * @return string |
|
326 | 326 | * @throws \Exception |
327 | 327 | */ |
328 | 328 | public function renderChild( $handle ) |