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

@@ -717,6 +717,9 @@ class Module extends ServiceLocator
*
* @param Action $action the action to be executed.
* @return bool whether the action should continue to be executed.
*
* @phpstan-param Action<Controller> $action
* @psalm-param Action<Controller> $action
*/
public function beforeAction($action)
{
@@ -745,6 +748,9 @@ class Module extends ServiceLocator
* @param Action $action the action just executed.
* @param mixed $result the action return result.
* @return mixed the processed action result.
*
* @phpstan-param Action<Controller> $action
* @psalm-param Action<Controller> $action
*/
public function afterAction($action, $result)
{