From 74096426365c319fedf896a9fc6c04f1f92cb7d5 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Mon, 30 Mar 2020 19:12:29 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/api/class/api_setup.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/api/class/api_setup.class.php b/htdocs/api/class/api_setup.class.php index 20148205203..34ad9badc69 100644 --- a/htdocs/api/class/api_setup.class.php +++ b/htdocs/api/class/api_setup.class.php @@ -408,7 +408,7 @@ class Setup extends DolibarrApi * @param object $object Object with label to translate * @param string $lang Code of the language the name of the object must be translated to * @param string $modprefix Prefix for translation - * + * * @return void */ private function translateLabel($object, $lang, $prefix) @@ -423,7 +423,7 @@ class Setup extends DolibarrApi } if ($object->code) { $key = $prefix.$object->code; - + $translation = $this->translations->trans($key); if ($translation != $key) { $object->label = html_entity_decode($translation);