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

Collection ArrayAccess does not preserve discrim as key #1285

Open
valzargaming opened this issue Jan 21, 2025 · 0 comments
Open

Collection ArrayAccess does not preserve discrim as key #1285

valzargaming opened this issue Jan 21, 2025 · 0 comments
Labels

Comments

@valzargaming
Copy link
Member

valzargaming commented Jan 21, 2025

using [] =
Image
Using ->push
Image

Because Collections are designed to respect their discrim values as keys, the expected behavior is to replace the null $offset with the value's matching offset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant