Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Added support for array-style callable to FunctionCallDefinitionDumper. #180
I had a definition failure occur with the following code:
And the dumper failed with the error message:
This PR adds explicit report for array callables to the dumper.
Thank you for this quick fix! I have merged manually and fixed the short array in the tests so that it runs on PHP 5.3 too.
I have just released v4.2.2 (https://github.com/mnapoli/PHP-DI/releases/tag/4.2.2) :)