We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c40694e commit bc57920Copy full SHA for bc57920
src/Collections/PhpTranslations.php
@@ -189,7 +189,7 @@ public static function toUndot(Translations|array $translations): array
189
{
190
$translations = $translations instanceof Translations ? $translations->all() : $translations;
191
192
- return static::unprepareTranslations(Arr::undot($translations));
+ return static::unprepareTranslations(Arr::undot($translations)) ?? [];
193
}
194
195
/**
0 commit comments