Skip to content

Type::convertToPHPValue is not called when $value is null #1483

Open
@Bilge

Description

@Bilge

This seems to be incorrect behaviour considering types like Hash implement their own null checking. Furthermore it prevents marshalling nulls into empty collections. It should therefore be up to the implementation to decide how to handle null.

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