Commit 21342c6d by Alexander Makarov

Merge pull request #976 from iJackUA/patch-1

View. Default empty array value for $params
parents 28d9ee7c 253becae
......@@ -96,7 +96,7 @@ class View extends Component
/**
* @var mixed custom parameters that are shared among view templates.
*/
public $params;
public $params = array();
/**
* @var array a list of available renderers indexed by their corresponding supported file extensions.
* Each renderer may be a view renderer object or the configuration for creating the renderer object.
......
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