Closed chrisrhymes closed 7 months ago
@chrisrhymes I am very grateful for your notice I will solve it and inform you as soon as possible
@chrisrhymes Please upgrade the package to 3.0.4 It will work fine Thank you for submitting an issue report
Thank you @hussein4alaa!
@chrisrhymes Your welcome, I would be grateful if you could report any issue you may encounter
Describe the bug When you use invokable routes and controllers, you get the following error:
Undefined array key 1 {"exception":"[object] (ErrorException(code: 0): Undefined array key 1 at /var/www/html/vendor/g4t/swagger/src/Helpers.php:55)
To Reproduce
__invoke()
method.__invoke()
method in the Controller./swagger/documentation
and see the above error.Expected behavior It would be great to allow invokable controllers and routes if possible. It errors as there is no
@
in the $controllerMethod for invokable routes.