Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Supports reflection for routes configured in PHP files. (#1701)
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>
- Loading branch information