@@ -372,7 +372,7 @@ |
||
| 372 | 372 | * @param array $args Arguments passed to the constructor or |
| 373 | 373 | * factory method. |
| 374 | 374 | * |
| 375 | - * @return object Object that implements the interface. |
|
| 375 | + * @return callable Object that implements the interface. |
|
| 376 | 376 | * @throws FailedToInstantiateObject If no valid object could be |
| 377 | 377 | * instantiated. |
| 378 | 378 | */ |
@@ -267,7 +267,7 @@ |
||
| 267 | 267 | * Do additional preparations on the context before rendering. |
| 268 | 268 | * |
| 269 | 269 | * @param array $context Context to prepare. |
| 270 | - * @return array Prepared context. |
|
| 270 | + * @return string Prepared context. |
|
| 271 | 271 | */ |
| 272 | 272 | protected function prepare_context( array $context ): array { |
| 273 | 273 | return $context; |