@@ -71,8 +71,8 @@ public function detach()
7171 /**
7272 * @param ActionEvent $event
7373 *
74- * @phpstan-param ActionEvent<Action<Controller>> $event
75- * @psalm-param ActionEvent<Action<Controller>> $event
74+ * @phpstan-param ActionEvent<Action<Controller<Module> >> $event
75+ * @psalm-param ActionEvent<Action<Controller<Module> >> $event
7676 */
7777 public function beforeFilter ($ event )
7878 {
@@ -93,8 +93,8 @@ public function beforeFilter($event)
9393 /**
9494 * @param ActionEvent $event
9595 *
96- * @phpstan-param ActionEvent<Action<Controller>> $event
97- * @psalm-param ActionEvent<Action<Controller>> $event
96+ * @phpstan-param ActionEvent<Action<Controller<Module> >> $event
97+ * @psalm-param ActionEvent<Action<Controller<Module> >> $event
9898 */
9999 public function afterFilter ($ event )
100100 {
@@ -108,8 +108,8 @@ public function afterFilter($event)
108108 * @param Action $action the action to be executed.
109109 * @return bool whether the action should continue to be executed.
110110 *
111- * @phpstan-param Action<Controller> $action
112- * @psalm-param Action<Controller> $action
111+ * @phpstan-param Action<Controller<Module> > $action
112+ * @psalm-param Action<Controller<Module> > $action
113113 */
114114 public function beforeAction ($ action )
115115 {
@@ -123,8 +123,8 @@ public function beforeAction($action)
123123 * @param mixed $result the action execution result
124124 * @return mixed the processed action result.
125125 *
126- * @phpstan-param Action<Controller> $action
127- * @psalm-param Action<Controller> $action
126+ * @phpstan-param Action<Controller<Module> > $action
127+ * @psalm-param Action<Controller<Module> > $action
128128 */
129129 public function afterAction ($ action , $ result )
130130 {
@@ -137,8 +137,8 @@ public function afterAction($action, $result)
137137 * @return string
138138 * @since 2.0.7
139139 *
140- * @phpstan-param Action<Controller> $action
141- * @psalm-param Action<Controller> $action
140+ * @phpstan-param Action<Controller<Module> > $action
141+ * @psalm-param Action<Controller<Module> > $action
142142 */
143143 protected function getActionId ($ action )
144144 {
@@ -160,8 +160,8 @@ protected function getActionId($action)
160160 * @param Action $action the action being filtered
161161 * @return bool whether the filter is active for the given action.
162162 *
163- * @phpstan-param Action<Controller> $action
164- * @psalm-param Action<Controller> $action
163+ * @phpstan-param Action<Controller<Module> > $action
164+ * @psalm-param Action<Controller<Module> > $action
165165 */
166166 protected function isActive ($ action )
167167 {
0 commit comments