From 28e5347687fd1788a0cd32c301417a26dd8407cb Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Wed, 26 Apr 2023 09:40:05 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- 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; }