Skip to content

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
  • Loading branch information
vjik committed Feb 9, 2025
1 parent 2c87323 commit 0c2c2e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Inflector.php
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ public function toPascalCase(string $input): string
/**
* Returns a human-readable string.
*
* @param string $input The string to humanize. It must be valid UTF-8 string.
* @param string $input The valid UTF-8 string to humanize.
* @param bool $uppercaseWords Whether to set all words to uppercase or not.
*/
public function toHumanReadable(string $input, bool $uppercaseWords = false): string
Expand Down Expand Up @@ -655,7 +655,7 @@ public function tableToClass(string $tableName): string
* and removes the rest. You may customize characters map via $transliteration property
* of the helper.
*
* @param string $input An arbitrary string to convert. It must be valid UTF-8 string.
* @param string $input An arbitrary valid UTF-8 string to convert.
* @param string $replacement The replacement to use for spaces. It must be valid UTF-8 string.
* @param bool $lowercase whether to return the string in lowercase or not. Defaults to `true`.
*
Expand Down
2 changes: 1 addition & 1 deletion src/StringHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ public static function uppercaseFirstCharacter(string $string, string $encoding
/**
* Uppercase the first character of each word in a string.
*
* @param string $string The string to be processed. It must be valid UTF-8 string.
* @param string $string The valid UTF-8 string to be processed.
* @param string $encoding The encoding to use, defaults to "UTF-8".
*
* @see https://php.net/manual/en/function.ucwords.php
Expand Down

0 comments on commit 0c2c2e1

Please sign in to comment.