phpdoc improvements

This commit is contained in:
El RIDO 2024-03-10 18:01:46 +01:00
parent 5f00587d71
commit e1e0e8399c
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92

View File

@ -81,7 +81,7 @@ class I18n
* *
* @access public * @access public
* @static * @static
* @param string $messageId * @param string|array $messageId
* @param mixed $args one or multiple parameters injected into placeholders * @param mixed $args one or multiple parameters injected into placeholders
* @return string * @return string
*/ */
@ -95,7 +95,7 @@ class I18n
* *
* @access public * @access public
* @static * @static
* @param string $messageId * @param string|array $messageId
* @param mixed $args one or multiple parameters injected into placeholders * @param mixed $args one or multiple parameters injected into placeholders
* @return string * @return string
*/ */
@ -104,7 +104,7 @@ class I18n
if (empty($messageId)) { if (empty($messageId)) {
return $messageId; return $messageId;
} }
if (count(self::$_translations) === 0) { if (empty(self::$_translations)) {
self::loadTranslations(); self::loadTranslations();
} }
$messages = $messageId; $messages = $messageId;