Skip to content

Commit 8ad1999

Browse files
committed
fix dot empty items
1 parent 30c32ca commit 8ad1999

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Collections/PhpTranslations.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function dot(): Collection
1616
{
1717
return new Collection(
1818
Arr::dot(
19-
static::prepareTranslations($this->items)
19+
static::prepareTranslations($this->items) ?? []
2020
)
2121
);
2222
}

0 commit comments

Comments
 (0)