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

[12.x] Remove return statement #54842

Merged
merged 1 commit into from
Feb 28, 2025

Conversation

mohprilaksono
Copy link
Contributor

@mohprilaksono mohprilaksono commented Feb 28, 2025

Since the return type in the Illuminate\Bus\Batch.invokeHandlerCallback method is void. There is no need to write a return statement. I think this will make the codes much clearer

@taylorotwell taylorotwell merged commit 928be7b into laravel:12.x Feb 28, 2025
41 checks passed
@mohprilaksono mohprilaksono deleted the remove-return-stmt branch February 28, 2025 19:55
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