@@ -142,8 +142,8 @@ |
||
142 | 142 | * Denies the access of the user. |
143 | 143 | * The default implementation will redirect the user to the login page if he is a guest; |
144 | 144 | * if the user is already logged, a 403 HTTP exception will be thrown. |
145 | - * @param User|false $user the current user or boolean `false` in case of detached User component |
|
146 | 145 | * @throws ForbiddenHttpException if the user is already logged in or in case of detached User component |
146 | + * @param Action $action |
|
147 | 147 | */ |
148 | 148 | protected function denyAccess($action) |
149 | 149 | { |