Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New linter to enforce controllers declare return type #291

Open
Gummibeer opened this issue Apr 30, 2022 · 0 comments
Open

New linter to enforce controllers declare return type #291

Gummibeer opened this issue Apr 30, 2022 · 0 comments

Comments

@Gummibeer
Copy link
Contributor

A new linter that enforces all public methods of controllers to declare a return type which is a child of the Symfony base response or implements the Laravel Responsable interface.
This linter help to enforce return types at all and also the right ones in controllers.

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

No branches or pull requests

1 participant