Skip to content

Use strict mode for array_search #2067

Open
@alcaeus

Description

@alcaeus

We use array_search to find the correct discriminator value for a given class name. This does not use strict mode (third argument for array_search). This should not have a big impact since we're expecting to look for class name strings which shouldn't have to use type coercion, but due to the potential BC implications this change should be evaluated carefully.

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