Skip to content

Convert check + exception to assertion in SPL arrays#8207

Closed
Girgias wants to merge 1 commit intophp:masterfrom
Girgias:spl-assertion-type
Closed

Convert check + exception to assertion in SPL arrays#8207
Girgias wants to merge 1 commit intophp:masterfrom
Girgias:spl-assertion-type

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