@@ -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 | */ |
@@ -268,7 +268,7 @@ |
||
268 | 268 | * |
269 | 269 | * @param array $context Context to prepare. |
270 | 270 | * @param array $atts Array of attributes passed to the shortcode. |
271 | - * @return array Prepared context. |
|
271 | + * @return string Prepared context. |
|
272 | 272 | */ |
273 | 273 | protected function prepare_context( array $context, array $atts ): array { |
274 | 274 | return $context; |