Make the configuration type for Application wider (#20730)

This commit is contained in:
Maksim Spirkov
2026-02-05 15:16:30 +04:00
committed by GitHub
parent 7678561467
commit 7d0627b8f6
2 changed files with 2 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ Yii Framework 2 Change Log
- Enh #20714: Allow overriding the `yii\grid\GridView`'s default `filterSelector`, allow using `Closure`s for `filterSelector` (chriscpty)
- Enh #20717: Use PHPStan/Psalm types in PHPDoc annotations (mspirkov)
- Enh #20718: When set_time_limit() is not available, throw a warning only for big files (@marc-farre)
- Enh #20730: Make the configuration type for `Application` wider (mspirkov)
2.0.54 January 09, 2026

View File

@@ -186,7 +186,7 @@ abstract class Application extends Module
/**
* Constructor.
* @param array<string, mixed> $config name-value pairs that will be used to initialize the object properties.
* @param array<array-key, mixed> $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.
*/