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

Add some PHP 8.1 fixes #1100

Merged
merged 1 commit into from
Dec 2, 2021
Merged

Add some PHP 8.1 fixes #1100

merged 1 commit into from
Dec 2, 2021

Conversation

driesvints
Copy link
Member

@driesvints driesvints commented Dec 2, 2021

Since these classes are very unlikely to be overridden as Horizon isn't that extensible, I've opted to add return types directly. Only for the mixed type (needs minimum version of PHP 8.0) I've opted to add the ReturnTypeWillChange attribute instead.

Fixes #1099

@taylorotwell taylorotwell merged commit 04c1b1b into 5.x Dec 2, 2021
@taylorotwell taylorotwell deleted the php81-fixes branch December 2, 2021 13:09
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.

[PHP 8.1] Deprecation message
2 participants