Fix #20374: Add PHPStan/Psalm annotations for BaseYii, BaseObject, Component, Model, Module and yii\base\Controller

This commit is contained in:
Максим Спирков
2025-05-05 09:24:57 +04:00
committed by GitHub
parent 87d960b85b
commit f66ee97a45
7 changed files with 55 additions and 0 deletions

View File

@@ -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 = [])
{