diff --git a/Hash.php b/Hash.php index a20ec2010..af52e9039 100644 --- a/Hash.php +++ b/Hash.php @@ -977,7 +977,7 @@ public static function apply(array $data, string $path, callable $function) * @param array $data An array of data to sort * @param string $path A Set-compatible path to the array value * @param string|int $dir See directions above. Defaults to 'asc'. - * @param array|string $type See direction types above. Defaults to 'regular'. + * @param array|string $type See direction types above. Defaults to 'regular'. * @return array Sorted array of data * @link https://book.cakephp.org/4/en/core-libraries/hash.html#Cake\Utility\Hash::sort */ diff --git a/Text.php b/Text.php index eb6f3cb37..d6e07a36c 100644 --- a/Text.php +++ b/Text.php @@ -330,7 +330,7 @@ public static function cleanInsert(string $str, array $options): string * - `indentAt` 0 based index to start indenting at. Defaults to 0. * * @param string $text The text to format. - * @param array|int $options Array of options to use, or an integer to wrap the text to. + * @param array|int $options Array of options to use, or an integer to wrap the text to. * @return string Formatted text. */ public static function wrap(string $text, $options = []): string @@ -367,7 +367,7 @@ public static function wrap(string $text, $options = []): string * - `indentAt` 0 based index to start indenting at. Defaults to 0. * * @param string $text The text to format. - * @param array|int $options Array of options to use, or an integer to wrap the text to. + * @param array|int $options Array of options to use, or an integer to wrap the text to. * @return string Formatted text. */ public static function wrapBlock(string $text, $options = []): string @@ -1147,7 +1147,7 @@ public static function transliterate(string $string, $transliterator = null): st * For e.g. this option can be set to '.' to generate clean file names. * * @param string $string the string you want to slug - * @param array|string $options If string it will be use as replacement character + * @param array|string $options If string it will be use as replacement character * or an array of options. * @return string * @see setTransliterator()