diff --git a/src/Translations/TranslationManager.php b/src/Translations/TranslationManager.php index 37d5f99..8d21f34 100644 --- a/src/Translations/TranslationManager.php +++ b/src/Translations/TranslationManager.php @@ -36,20 +36,6 @@ public function createTranslationFiles(Collection $translations, string $locale) } } - public function checkTranslations(Collection $translations, string $locale) : bool - { - $localeTranslations = collect($this->getTranslations($locale)); - - $missingKeys = $translations->dot()->diffAssoc($localeTranslations->dot()); - $extraKeys = $localeTranslations->dot()->diffAssoc($translations->dot()); - - if ($missingKeys->isNotEmpty() || $extraKeys->isNotEmpty()) { - return false; - } - - return true; - } - protected function getVendorTranslations(string $locale) : Collection { if (! $this->filesystem->exists(lang_path('vendor'))) {