Skip to content

Commit

Permalink
Apply fixes from StyleCI (#274)
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]

Co-authored-by: StyleCI Bot <[email protected]>
  • Loading branch information
joedixon and StyleCIBot authored Apr 26, 2023
1 parent e950256 commit feba4d1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/Console/Commands/SynchroniseTranslationsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/Drivers/Translation.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit feba4d1

Please sign in to comment.