From caf9948c5428025ab9a2914930ebc67f763c4fdd Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Thu, 23 May 2013 19:51:47 +0400 Subject: [PATCH] fixes #377 --- framework/yii/console/controllers/HelpController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/yii/console/controllers/HelpController.php b/framework/yii/console/controllers/HelpController.php index c40ea66..a729f78 100644 --- a/framework/yii/console/controllers/HelpController.php +++ b/framework/yii/console/controllers/HelpController.php @@ -13,7 +13,7 @@ use yii\base\InlineAction; use yii\console\Controller; use yii\console\Exception; use yii\console\Request; -use yii\helpers\StringHelper; +use yii\helpers\Inflector; /** * This command provides help information about console commands. @@ -96,7 +96,7 @@ class HelpController extends Controller foreach ($class->getMethods() as $method) { $name = $method->getName(); if ($method->isPublic() && !$method->isStatic() && strpos($name, 'action') === 0 && $name !== 'actions') { - $actions[] = StringHelper::camel2id(substr($name, 6)); + $actions[] = Inflector::camel2id(substr($name, 6)); } } sort($actions);