@@ -314,7 +314,7 @@ |
||
314 | 314 | * method. |
315 | 315 | * @param array $args Arguments passed to the constructor or |
316 | 316 | * factory method. |
317 | - * @return object Object that implements the interface. |
|
317 | + * @return callable Object that implements the interface. |
|
318 | 318 | * @throws FailedToInstantiateObject If no valid object could be |
319 | 319 | * instantiated. |
320 | 320 | */ |