From feba4d1e3d12722ca60c05d9180f39b7de227e4e Mon Sep 17 00:00:00 2001 From: Joe Dixon Date: Wed, 26 Apr 2023 10:40:52 +0100 Subject: [PATCH] Apply fixes from StyleCI (#274) [ci skip] [skip ci] Co-authored-by: StyleCI Bot --- src/Console/Commands/SynchroniseTranslationsCommand.php | 1 - src/Drivers/Translation.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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; }