We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37c301f commit 28006edCopy full SHA for 28006ed
1 file changed
src/Storage/ManifestReader.php
@@ -23,6 +23,10 @@ public static function readEntries(
23
24
$reader->read(); // Step to the first element.
25
do {
26
+ if ($reader->value() === null) {
27
+ // on empty entries lib will return null item
28
+ continue;
29
+ }
30
yield $reader->value();
31
} while ($reader->next() && $reader->depth() > $depth); // Read each sibling.
32
0 commit comments