Skip to content

Conversation

YannikFirre
Copy link
Contributor

Hello,

When I generate controllers with resource:api and with use_return_types set to true.

The return type controller is set to Response instead of the Resource

Before :
image

After :
image

@jasonmccreary
Copy link
Collaborator

@YannikFirre, thank. But I'd like to see a test for this before merging.

@YannikFirre
Copy link
Contributor Author

Hello @jasonmccreary it's done :)

@jasonmccreary
Copy link
Collaborator

Very nice. Thanks!

@jasonmccreary jasonmccreary merged commit c729183 into laravel-shift:master Aug 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants