mirror of
https://github.com/yiisoft/yii2.git
synced 2025-10-30 01:56:35 +08:00
Fix #20453: Fix PHPStan/Psalm types in yii\web\View
This commit is contained in:
@ -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