mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-08 00:07:23 +01:00
Update public property types of yii\base\Module
This commit is contained in:
@@ -60,11 +60,11 @@ class Module extends ServiceLocator
|
||||
*/
|
||||
public $id;
|
||||
/**
|
||||
* @var Module the parent module of this module. `null` if this module does not have a parent.
|
||||
* @var Module|null the parent module of this module. `null` if this module does not have a parent.
|
||||
*/
|
||||
public $module;
|
||||
/**
|
||||
* @var string|bool the layout that should be applied for views within this module. This refers to a view name
|
||||
* @var string|bool|null the layout that should be applied for views within this module. This refers to a view name
|
||||
* relative to [[layoutPath]]. If this is not set, it means the layout value of the [[module|parent module]]
|
||||
* will be taken. If this is `false`, layout will be disabled within this module.
|
||||
*/
|
||||
@@ -90,7 +90,7 @@ class Module extends ServiceLocator
|
||||
*/
|
||||
public $controllerMap = [];
|
||||
/**
|
||||
* @var string the namespace that controller classes are in.
|
||||
* @var string|null the namespace that controller classes are in.
|
||||
* This namespace will be used to load controller classes by prepending it to the controller
|
||||
* class name.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user