From e1e0e8399c5ed94cc8ac7f8da1d732a7346b8c17 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sun, 10 Mar 2024 18:01:46 +0100 Subject: [PATCH] phpdoc improvements --- lib/I18n.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/I18n.php b/lib/I18n.php index 7aa1ecd3..23496bf8 100644 --- a/lib/I18n.php +++ b/lib/I18n.php @@ -81,7 +81,7 @@ class I18n * * @access public * @static - * @param string $messageId + * @param string|array $messageId * @param mixed $args one or multiple parameters injected into placeholders * @return string */ @@ -95,7 +95,7 @@ class I18n * * @access public * @static - * @param string $messageId + * @param string|array $messageId * @param mixed $args one or multiple parameters injected into placeholders * @return string */ @@ -104,7 +104,7 @@ class I18n if (empty($messageId)) { return $messageId; } - if (count(self::$_translations) === 0) { + if (empty(self::$_translations)) { self::loadTranslations(); } $messages = $messageId;