From 55cbcd567bd53a49d492e68e0930e741bf91f041 Mon Sep 17 00:00:00 2001 From: AD7six Date: Sun, 8 Feb 2015 18:45:16 +0000 Subject: [PATCH] Correct doc blocks --- src/Utility/Inflector.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/Utility/Inflector.php b/src/Utility/Inflector.php index dbdcfd0c861..dd4d713164d 100644 --- a/src/Utility/Inflector.php +++ b/src/Utility/Inflector.php @@ -625,7 +625,7 @@ public static function dasherize($string) * (Underscores are replaced by spaces and capitalized following words.) * * @param string $string String to be made more readable - * @param string $replacement + * @param string $replacement the character to replace with a space * @return string Human-readable string * @link http://book.cakephp.org/3.0/en/core-libraries/inflector.html#creating-human-readable-forms */ @@ -644,12 +644,11 @@ public static function humanize($string, $replacement = '_') } /** - * Returns the given CamelCasedWordGroup as lower cased words, separated by the replacement - * character + * Takes the input string, and based on the replacement character converts to a normalized string * - * @param string $string - * @param string $replacement - * @return string normalized stringd + * @param string $string String to normalize + * @param string $replacement the character to use as a delimiter + * @return string normalized string */ public static function normalize($string, $replacement = '_') {