mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-13 01:41:42 +08:00
Fix #20666: Add missing generics in yii\base, yii\console, yii\filters and yii\web namespaces
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user