Style and phpstan cleanups

This commit is contained in:
MarkBaker 2022-02-11 13:55:52 +01:00
parent 8818a7d620
commit c9886127c0
4 changed files with 13 additions and 13 deletions

View File

@ -18,7 +18,7 @@ class TextData
* *
* @param string $character Value * @param string $character Value
* *
* @return string * @return array|string
*/ */
public static function CHARACTER($character) public static function CHARACTER($character)
{ {
@ -64,9 +64,9 @@ class TextData
* *
* @see Use the code() method in the TextData\CharacterConvert class instead * @see Use the code() method in the TextData\CharacterConvert class instead
* *
* @param string $characters Value * @param array|string $characters Value
* *
* @return int|string A string if arguments are invalid * @return array|int|string A string if arguments are invalid
*/ */
public static function ASCIICODE($characters) public static function ASCIICODE($characters)
{ {
@ -234,15 +234,15 @@ class TextData
/** /**
* LOWERCASE. * LOWERCASE.
* *
* Converts a string value to upper case. * Converts a string value to lower case.
* *
* @Deprecated 1.18.0 * @Deprecated 1.18.0
* *
* @see Use the lower() method in the TextData\CaseConvert class instead * @see Use the lower() method in the TextData\CaseConvert class instead
* *
* @param string $mixedCaseString * @param array|string $mixedCaseString
* *
* @return string * @return array|string
*/ */
public static function LOWERCASE($mixedCaseString) public static function LOWERCASE($mixedCaseString)
{ {
@ -260,7 +260,7 @@ class TextData
* *
* @param string $mixedCaseString * @param string $mixedCaseString
* *
* @return string * @return array|string
*/ */
public static function UPPERCASE($mixedCaseString) public static function UPPERCASE($mixedCaseString)
{ {
@ -270,15 +270,15 @@ class TextData
/** /**
* PROPERCASE. * PROPERCASE.
* *
* Converts a string value to upper case. * Converts a string value to proper/title case.
* *
* @Deprecated 1.18.0 * @Deprecated 1.18.0
* *
* @see Use the proper() method in the TextData\CaseConvert class instead * @see Use the proper() method in the TextData\CaseConvert class instead
* *
* @param string $mixedCaseString * @param array|string $mixedCaseString
* *
* @return string * @return array|string
*/ */
public static function PROPERCASE($mixedCaseString) public static function PROPERCASE($mixedCaseString)
{ {