mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 13:02:24 +08:00
Fix #17395: Fixed issues with actions that contain underscores in their names
This commit is contained in:
committed by
Alexander Makarov
parent
56f639358c
commit
2b9374558b
@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user