8000 Collection ArrayAccess does not preserve discrim as key · Issue #1285 · discord-php/DiscordPHP · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Collection ArrayAccess does not preserve discrim as key #1285
Open
@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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0