diff --git a/module/VuFind/src/VuFind/View/Helper/Root/JsTranslations.php b/module/VuFind/src/VuFind/View/Helper/Root/JsTranslations.php index 27fec4d7e4c34f04da8582a0cfe0c4afc9e7a6ee..f06481a776efc4bdfa0c38e99a73252d8be047fb 100644 --- a/module/VuFind/src/VuFind/View/Helper/Root/JsTranslations.php +++ b/module/VuFind/src/VuFind/View/Helper/Root/JsTranslations.php @@ -96,10 +96,10 @@ class JsTranslations extends AbstractHelper $parts = []; foreach ($this->strings as $k => $v) { $translation = is_array($v) - ? call_user_func_array(array($this->transEsc, '__invoke'), $v) + ? call_user_func_array([$this->transEsc, '__invoke'], $v) : $this->transEsc->__invoke($v); $parts[] = $k . ': "' . addslashes($translation) . '"'; } return $this->varName . ' = {' . implode(',', $parts) . '};'; } -} \ No newline at end of file +}