Skip to content

[11.x] remove unnecessary return statement#53816

Merged
taylorotwell merged 1 commit intolaravel:11.xfrom
browner12:AB-return-value-never-used
Dec 10, 2024
Merged

[11.x] remove unnecessary return statement#53816
taylorotwell merged 1 commit intolaravel:11.xfrom
browner12:AB-return-value-never-used

Conversation

@browner12
Copy link
Copy Markdown
Contributor

the called function returns void, and the result of the method is never used

the called function returns void, and the result of the method is never used
@taylorotwell taylorotwell merged commit 75e64fe into laravel:11.x Dec 10, 2024
@browner12 browner12 deleted the AB-return-value-never-used branch December 10, 2024 15:55
@shaedrich
Copy link
Copy Markdown
Contributor

shaedrich commented Dec 15, 2024

Wouldn't it be good for these methods to also have return type hints to make this more clear?

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.

3 participants