Fix #20666: Add missing generics in yii\base, yii\console, yii\filters and yii\web namespaces

This commit is contained in:
Maksim Spirkov
2025-10-31 22:43:14 +03:00
committed by GitHub
parent 1821a61ddc
commit c569e9136b
32 changed files with 189 additions and 31 deletions

View File

@@ -127,8 +127,8 @@ abstract class BaseMigrateController extends Controller
* @throws InvalidConfigException if directory specified in migrationPath doesn't exist and action isn't "create".
* @return bool whether the action should continue to be executed.
*
* @phpstan-param Action<static> $action
* @psalm-param Action<static> $action
* @phpstan-param Action<$this> $action
* @psalm-param Action<$this> $action
*/
public function beforeAction($action)
{

View File

@@ -178,8 +178,8 @@ class MigrateController extends BaseMigrateController
* @param Action $action the action to be executed.
* @return bool whether the action should continue to be executed.
*
* @phpstan-param Action<static> $action
* @psalm-param Action<static> $action
* @phpstan-param Action<$this> $action
* @psalm-param Action<$this> $action
*/
public function beforeAction($action)
{