mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Fix #20453: Fix PHPStan/Psalm types in yii\web\View
This commit is contained in:
@ -9,6 +9,7 @@ Yii Framework 2 Change Log
|
||||
- Enh #20434: Added PHPStan/Psalm annotations for `hasMany` and `hasOne` methods (max-s-lab)
|
||||
- Enh #20433: Added PHPStan/Psalm annotations for some controllers methods: `beforeAction`, `afterAction` and `bindActionParams` (max-s-lab)
|
||||
- Enh #20442: Add PHPStan/Psalm annotations for `yii\base\Controller` methods: `runAction`, `run`, `render`, `renderPartial` and `renderFile` (max-s-lab)
|
||||
- Bug #20453: Fix PHPStan/Psalm types in `yii\web\View` (max-s-lab)
|
||||
|
||||
|
||||
2.0.53 June 27, 2025
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user