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

Array type safety #51

Merged
merged 6 commits into from
Feb 14, 2025
Merged

Array type safety #51

merged 6 commits into from
Feb 14, 2025

Conversation

g105b
Copy link
Member

@g105b g105b commented Feb 14, 2025

This PR makes type checking more consistent when dealing with typed arrays.

If the values can be cast to the requested scalar, they will be cast. Otherwise the appropriate TypeError will be thrown by PHP.

@g105b g105b merged commit 534b593 into master Feb 14, 2025
26 checks passed
@g105b g105b deleted the 49-array-type-safety branch February 14, 2025 16:43
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