diff --git a/src/Console/Commands/SynchroniseTranslationsCommand.php b/src/Console/Commands/SynchroniseTranslationsCommand.php index 7e6d0ab4..0e9e52ee 100644 --- a/src/Console/Commands/SynchroniseTranslationsCommand.php +++ b/src/Console/Commands/SynchroniseTranslationsCommand.php @@ -113,7 +113,6 @@ public function handle() // If the language argument is set. if ($this->argument('language')) { - // If all languages should be synced. if ($this->argument('language') == 'all') { $language = false; diff --git a/src/Drivers/Translation.php b/src/Drivers/Translation.php index bd773058..5ec47ef3 100644 --- a/src/Drivers/Translation.php +++ b/src/Drivers/Translation.php @@ -86,7 +86,7 @@ public function getSourceLanguageTranslationsWith($language) */ public function filterTranslationsFor($language, $filter) { - $allTranslations = $this->getSourceLanguageTranslationsWith(($language)); + $allTranslations = $this->getSourceLanguageTranslationsWith($language); if (! $filter) { return $allTranslations; }