@@ -20,7 +20,7 @@ |
||
20 | 20 | |
21 | 21 | /** |
22 | 22 | * @param ActionEvent $event |
23 | - * @return boolean |
|
23 | + * @return boolean|null |
|
24 | 24 | * @throws HttpException when the request method is not allowed. |
25 | 25 | */ |
26 | 26 | public function afterAction($event) |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace zacksleo\yii2\oauth2\api\filters; |
4 | 4 | |
5 | -use Yii; |
|
6 | 5 | use yii\base\Controller; |
7 | 6 | use filsh\yii2\oauth2server\Module; |
8 | 7 | use filsh\yii2\oauth2server\exceptions\HttpException; |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | |
42 | 42 | /** |
43 | 43 | * Lists all App models. |
44 | - * @return mixed |
|
44 | + * @return string |
|
45 | 45 | */ |
46 | 46 | public function actionIndex() |
47 | 47 | { |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | /** |
58 | 58 | * Displays a single App model. |
59 | 59 | * @param integer $id |
60 | - * @return mixed |
|
60 | + * @return string |
|
61 | 61 | */ |
62 | 62 | public function actionView($id) |
63 | 63 | { |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | * Deletes an existing App model. |
108 | 108 | * If deletion is successful, the browser will be redirected to the 'index' page. |
109 | 109 | * @param integer $id |
110 | - * @return mixed |
|
110 | + * @return \yii\web\Response |
|
111 | 111 | */ |
112 | 112 | public function actionDelete($id) |
113 | 113 | { |