Closed ddunford closed 1 year ago
What is dingo API?
What is dingo API?
https://github.com/api-ecosystem-for-laravel/dingo-api
It allows you to build API's. It calls getMiddleware() and expects an array Laravel controller returns an array.
Your examples show getMiddleware() returns an array anyway, so it makes sense to have the default return an empty array to stop any type issues, like this one.
Hi there 👋
I think that makes sense.
Could you please update the docblocks accordingly as it says it returns void
at the moment?
Updated :)
Thank you!
Using LaravelActions with dingo API causes an exception, as it calls getMiddleware(), which expects an array when using array_merge.