From: Matthias Schmidt Date: Sun, 22 May 2016 07:39:57 +0000 (+0200) Subject: Add missing parameter and return type documentation in StringUtil X-Git-Tag: 3.0.0_Beta_1~1680 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ea4c25a499d759f3ac1e3c04f8e4d5ae282ddc8e;p=GitHub%2FWoltLab%2FWCF.git Add missing parameter and return type documentation in StringUtil --- diff --git a/wcfsetup/install/files/lib/util/StringUtil.class.php b/wcfsetup/install/files/lib/util/StringUtil.class.php index 648f2513e8..b18f1d784d 100644 --- a/wcfsetup/install/files/lib/util/StringUtil.class.php +++ b/wcfsetup/install/files/lib/util/StringUtil.class.php @@ -243,6 +243,9 @@ final class StringUtil { /** * Alias to php ucfirst() function with multibyte support. + * + * @param string $string + * @return string */ public static function firstCharToUpperCase($string) { return mb_strtoupper(mb_substr($string, 0, 1)).mb_substr($string, 1); @@ -250,6 +253,9 @@ final class StringUtil { /** * Alias to php lcfirst() function with multibyte support. + * + * @param string $string + * @return string */ public static function firstCharToLowerCase($string) { return mb_strtolower(mb_substr($string, 0, 1)).mb_substr($string, 1); @@ -257,6 +263,9 @@ final class StringUtil { /** * Alias to php mb_convert_case() function. + * + * @param string $string + * @return string */ public static function wordsToUpperCase($string) { return mb_convert_case($string, MB_CASE_TITLE);