adbario / php-dot-notation

Dot notation access to PHP arrays

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parsing empty array all() returns null

thomasvargiu opened this issue · comments

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

Thanks @thomasvargiu for reporting this, will push a fix soon 👍