@@ -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 ) |
@@ -98,7 +98,7 @@ |
||
| 98 | 98 | } |
| 99 | 99 | |
| 100 | 100 | /** |
| 101 | - * @param $templatePath |
|
| 101 | + * @param string $templatePath |
|
| 102 | 102 | * @return null|string |
| 103 | 103 | * @throws \Exception |
| 104 | 104 | */ |
@@ -107,7 +107,7 @@ |
||
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | /** |
| 110 | - * @param $loader |
|
| 110 | + * @param Twig_LoaderInterface $loader |
|
| 111 | 111 | */ |
| 112 | 112 | protected function initTwig( $loader ) |
| 113 | 113 | { |