diff --git a/framework/yii/widgets/DetailView.php b/framework/yii/widgets/DetailView.php index 9b062c5..c9fca12 100644 --- a/framework/yii/widgets/DetailView.php +++ b/framework/yii/widgets/DetailView.php @@ -31,7 +31,7 @@ use yii\helpers\Inflector; * * ~~~ * \yii\widgets\DetailView::widget(array( - * 'data' => $model, + * 'model' => $model, * 'attributes' => array( * 'title', // title attribute (in plain text) * 'description:html', // description attribute in HTML