Recommended way to add controller return type #838
Unanswered
maxacarvalho
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've been using the Laravel-Data objects as resources with my API endpoints.
I wonder if there's a recommended way when adding the controller method return type.
I'm trying to avoid (or improve) things like this:
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions