Skip to content

Add native return types for classes implementing ArrayAccess, Countable, IteratorAggregate, JsonSerializeable #147

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

Closed
wants to merge 5 commits into from

Conversation

MaSpeng
Copy link

@MaSpeng MaSpeng commented Dec 28, 2021

This pull request will provide native return types for the classes which are implementing the ArrayAccess, Countable, IteratorAggregate interfaces and will provide the php attribute #[\ReturnTypeWillChange] for PHP 8.1 compatibility.

@MaSpeng
Copy link
Author

MaSpeng commented Dec 28, 2021

Nevermind I completly overlooked the pull requests and ongoing work to support PHP 8.1 and Symfony 6 🙈:

@MaSpeng MaSpeng closed this Dec 28, 2021
@MaSpeng MaSpeng changed the title Add native return types for classes implementing ArrayAccess, Countable, IteratorAggregate Add native return types for classes implementing ArrayAccess, Countable, IteratorAggregate, JsonSerializeable Dec 28, 2021
@MaSpeng MaSpeng deleted the php-8-1-compatibility branch December 28, 2021 16:08
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.

1 participant