Browse Source

Update public property types of yii\base\Module

tags/2.0.41
stevekr 4 years ago committed by GitHub
parent
commit
5995edb670
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      framework/base/Module.php

6
framework/base/Module.php

@ -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.
*

Loading…
Cancel
Save