mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-13 12:49:04 +08:00
...
This commit is contained in:
@@ -44,7 +44,7 @@ class HelpController extends Controller
|
||||
* ~~~
|
||||
*
|
||||
* @param array $args additional anonymous command line arguments.
|
||||
* You may provide a command-name to display its detailed information.
|
||||
* You may provide a command name to display its detailed information.
|
||||
* @return integer the exit status
|
||||
*/
|
||||
public function actionIndex($args = array())
|
||||
@@ -315,7 +315,7 @@ class HelpController extends Controller
|
||||
{
|
||||
$options = array();
|
||||
foreach ($class->getProperties() as $property) {
|
||||
if (!$property->isPublic() || $property->isStatic() || $property->getDeclaringClass()->getName() !== get_class($controller)) {
|
||||
if (!$property->isPublic() || $property->isStatic() || $property->getDeclaringClass()->getName() === 'yii\base\Controller') {
|
||||
continue;
|
||||
}
|
||||
$name = $property->getName();
|
||||
|
||||
Reference in New Issue
Block a user