mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 23:59:26 +03:00
71f0cfddcb
By default the PHP configuration routes returns an array with the controller name and method, since the reflection class was typed for string only this was causing an exception when the user was not using YAML or XML configuration. This changes removes the string type hint from the method and checks if it's an array or string to do the reflection. Co-authored-by: Adir Kuhn <adir@123inkt.nl>