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

[8.x] Implement ReturnTypeWillChange for Countable #38221

Merged
merged 1 commit into from
Aug 3, 2021
Merged

Conversation

driesvints
Copy link
Member

This PR implements the ReturnTypeWillChange attribute for the Countable interface to provide compatibility with PHP 8.1 return types.

It also removes all use imports in favor of the #[\ReturnTypeWillChange] notation like Symfony uses. That'll make it more easier to remove these attributes in a future version.

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