Skip to content

Fix incorrect annotations in Livewire components using "@return void" #1467

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

Merged

Conversation

coreymcmahon
Copy link
Contributor

Hi!

This is a tiny update to correct some of the type annotations which are currently @return void when a return type is possible.

This obviously shouldn't impact any runtime behaviour, but it's causing PHPStan errors in one of my projects so it would be appreciated if we could correct the type annotations 🙂

I tried to follow the return type conventions used in other places, but please feel free to suggest superior alternatives if you believe they exist.

Thanks for all you do 🙏

… a return value is possible
@taylorotwell taylorotwell merged commit e9ca098 into laravel:5.x Apr 3, 2024
6 checks passed
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.

None yet

3 participants