Skip to content

Parsing empty array all() returns null #40

@thomasvargiu

Description

@thomasvargiu

When parsing an empty array items, calling all() return null, but I would expect an empty array.

$dot = new Dot([], true);
$dot->all(); // this returns null

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions