mirror of
https://github.com/yiisoft/yii2.git
synced 2025-10-29 09:28:37 +08:00
PHPStan/Psalm annotations for base class constructors (#20413)
This commit is contained in:
@ -189,6 +189,9 @@ abstract class Application extends Module
|
||||
* @param array $config name-value pairs that will be used to initialize the object properties.
|
||||
* Note that the configuration must contain both [[id]] and [[basePath]].
|
||||
* @throws InvalidConfigException if either [[id]] or [[basePath]] configuration is missing.
|
||||
*
|
||||
* @phpstan-param array<string, mixed> $config
|
||||
* @psalm-param array<string, mixed> $config
|
||||
*/
|
||||
public function __construct($config = [])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user