Commit 214d41e0 by Qiang Xue

Merge pull request #5971 from mongosoft/controller

No need to return from __construct
parents 880a305e 95532377
...@@ -153,7 +153,7 @@ class ActiveField extends \yii\widgets\ActiveField ...@@ -153,7 +153,7 @@ class ActiveField extends \yii\widgets\ActiveField
{ {
$layoutConfig = $this->createLayoutConfig($config); $layoutConfig = $this->createLayoutConfig($config);
$config = ArrayHelper::merge($layoutConfig, $config); $config = ArrayHelper::merge($layoutConfig, $config);
return parent::__construct($config); parent::__construct($config);
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment