Skip to content

Collection ArrayAccess does not preserve discrim as key #1285

@valzargaming

Description

@valzargaming

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting confirmationThe issue has been resolved, but awaits confirmation from the creator to confirm.bug

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions