aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/Languages.php
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2018-10-13 01:40:04 +0200
committerVirtualTam <virtualtam@flibidi.net>2018-12-02 22:39:16 +0100
commit9d9f6d75b94aab51067bdfbe50b58b66d1194f6d (patch)
treeaa0e5743390296441edf09f44f95b3d21f2b5a16 /application/Languages.php
parent067c2dd8f5f6eb6cc808ddc4bd30aec104caf73d (diff)
downloadShaarli-9d9f6d75b94aab51067bdfbe50b58b66d1194f6d.tar.gz
Shaarli-9d9f6d75b94aab51067bdfbe50b58b66d1194f6d.tar.zst
Shaarli-9d9f6d75b94aab51067bdfbe50b58b66d1194f6d.zip
lint: fix line-length warnings
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'application/Languages.php')
-rw-r--r--application/Languages.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/application/Languages.php b/application/Languages.php
index 6a6247c7..b9c5d0e8 100644
--- a/application/Languages.php
+++ b/application/Languages.php
@@ -149,7 +149,9 @@ class Languages
149 } 149 }
150 150
151 try { 151 try {
152 $extension = Translations::fromPoFile($translationPath . $this->language .'/LC_MESSAGES/'. $domain .'.po'); 152 $extension = Translations::fromPoFile(
153 $translationPath . $this->language .'/LC_MESSAGES/'. $domain .'.po'
154 );
153 $extension->setDomain($domain); 155 $extension->setDomain($domain);
154 $this->translator->loadTranslations($extension); 156 $this->translator->loadTranslations($extension);
155 } catch (\InvalidArgumentException $e) { 157 } catch (\InvalidArgumentException $e) {