Fix #17395: Fixed issues with actions that contain underscores in their names

This commit is contained in:
Alexander Kartavenko
2019-07-08 13:46:43 +03:00
committed by Alexander Makarov
parent 56f639358c
commit 2b9374558b
6 changed files with 101 additions and 4 deletions

View File

@ -351,9 +351,9 @@ class BaseInflector
* Converts a word like "send_email" to "SendEmail". It
* will remove non alphanumeric character from the word, so
* "who's online" will be converted to "WhoSOnline".
* @see variablize()
* @param string $word the word to CamelCase
* @return string
* @see variablize()
*/
public static function camelize($word)
{