Skip to content

Convert check + exception to assertion in SPL arrays #8207

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 1 commit into from

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented Mar 16, 2022

Move the inside the __unserialize() method as that's the only one which now needs this check.

If someone has an idea on how to improve the error message I'll gladly take it.

Move the inside the __unserialize() method as that's the only one which now needs this check
@Girgias Girgias closed this in 69ea2d8 Mar 23, 2022
@Girgias Girgias deleted the spl-assertion-type branch March 23, 2022 22:31
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