mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-19 07:07:58 +08:00
Fix #20374: Add PHPStan/Psalm annotations for BaseYii, BaseObject, Component, Model, Module and yii\base\Controller
This commit is contained in:
@@ -153,6 +153,9 @@ class Module extends ServiceLocator
|
||||
* @param string $id the ID of this module.
|
||||
* @param Module|null $parent the parent module (if any).
|
||||
* @param array $config name-value pairs that will be used to initialize the object properties.
|
||||
*
|
||||
* @phpstan-param array<string, mixed> $config
|
||||
* @psalm-param array<string, mixed> $config
|
||||
*/
|
||||
public function __construct($id, $parent = null, $config = [])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user