mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-14 14:28:27 +08:00
Fix types (#19332)
* Migration::upsert() returns void * Unneeded `@property` tags * Add missing `null` param/return types * Null types for db\Query + db\ActiveQuery * Fixed testSelect
This commit is contained in:
@ -151,7 +151,7 @@ class Module extends ServiceLocator
|
||||
/**
|
||||
* Constructor.
|
||||
* @param string $id the ID of this module.
|
||||
* @param Module $parent the parent module (if any).
|
||||
* @param Module|null $parent the parent module (if any).
|
||||
* @param array $config name-value pairs that will be used to initialize the object properties.
|
||||
*/
|
||||
public function __construct($id, $parent = null, $config = [])
|
||||
|
Reference in New Issue
Block a user