diff --git a/src/Drivers/Translation.php b/src/Drivers/Translation.php index c30c924..c8b7829 100644 --- a/src/Drivers/Translation.php +++ b/src/Drivers/Translation.php @@ -62,7 +62,7 @@ public function getSourceLanguageTranslationsWith($language) return $sourceTranslations->map(function ($groups, $type) use ($language, $languageTranslations) { return $groups->map(function ($translations, $group) use ($type, $language, $languageTranslations) { $translations = $translations->toArray(); - array_walk($translations, function (&$value, &$key) use ($type, $group, $language, $languageTranslations) { + array_walk($translations, function (&$value, $key) use ($type, $group, $language, $languageTranslations) { $value = [ $this->sourceLanguage => $value, $language => $languageTranslations->get($type, collect())->get($group, collect())->get($key),