Fix #20453: Fix PHPStan/Psalm types in yii\web\View

This commit is contained in:
Максим Спирков
2025-07-15 12:54:19 +05:00
committed by GitHub
parent 58de63993f
commit 6ee5d952ae
2 changed files with 9 additions and 4 deletions

View File

@ -45,23 +45,27 @@ use yii\helpers\Url;
* @phpstan-type RegisterJsFileOptions array{
* depends?: class-string[],
* position?: int,
* appendTimestamp?: boolean
* appendTimestamp?: bool,
* ...
* }
*
* @psalm-type RegisterJsFileOptions = array{
* depends?: class-string[],
* position?: int,
* appendTimestamp?: boolean
* appendTimestamp?: bool,
* ...
* }
*
* @phpstan-type RegisterCssFileOptions array{
* depends?: class-string[],
* appendTimestamp?: boolean
* appendTimestamp?: bool,
* ...
* }
*
* @psalm-type RegisterCssFileOptions = array{
* depends?: class-string[],
* appendTimestamp?: boolean
* appendTimestamp?: bool,
* ...
* }
*/
class View extends \yii\base\View