From f8ed11db4dc78edb4aaadf5369297d9f37171b09 Mon Sep 17 00:00:00 2001 From: Dani Date: Wed, 17 Jun 2020 21:26:51 +0200 Subject: [PATCH] cleanup --- src/Translation.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Translation.php b/src/Translation.php index 5dad715..5f77834 100755 --- a/src/Translation.php +++ b/src/Translation.php @@ -155,11 +155,7 @@ public function syncTerms(): void public function syncTranslations(?array $languages = null): void { - if ($languages === null) { - $translations = $this->getTranslations(); - } else { - $translations = $this->getTranslations($languages); - } + $translations = $this->getTranslations($languages); $this->setupPoeditorCredentials();