mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 14:26:54 +08:00
phpDoc: Added null to Controller::$layout
This commit is contained in:
@ -50,7 +50,7 @@ class Controller extends Component implements ViewContextInterface
|
|||||||
*/
|
*/
|
||||||
public $defaultAction = 'index';
|
public $defaultAction = 'index';
|
||||||
/**
|
/**
|
||||||
* @var string|boolean the name of the layout to be applied to this controller's views.
|
* @var null|string|boolean the name of the layout to be applied to this controller's views.
|
||||||
* This property mainly affects the behavior of [[render()]].
|
* This property mainly affects the behavior of [[render()]].
|
||||||
* Defaults to null, meaning the actual layout value should inherit that from [[module]]'s layout value.
|
* Defaults to null, meaning the actual layout value should inherit that from [[module]]'s layout value.
|
||||||
* If false, no layout will be applied.
|
* If false, no layout will be applied.
|
||||||
|
Reference in New Issue
Block a user