Commit 353cf1b3 by Alexander Makarov

Merge pull request #4981 from SDKiller/patch-2

Updated phpdoc for \yii\widgets\DetailView [ckip ci]
parents 44b5e8ef 286e8efe
...@@ -49,8 +49,9 @@ use yii\helpers\Inflector; ...@@ -49,8 +49,9 @@ use yii\helpers\Inflector;
class DetailView extends Widget class DetailView extends Widget
{ {
/** /**
* @var array|object the data model whose details are to be displayed. This can be either a [[Model]] instance * @var array|object the data model whose details are to be displayed. This can be a [[Model]] instance,
* or an associative array. * an associative array, an object that implements [[Arrayable]] interface or simply an object with defined
* public accessible non-static properties.
*/ */
public $model; public $model;
/** /**
......
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