@@ -162,7 +162,7 @@ |
||
162 | 162 | * |
163 | 163 | * @param string $id |
164 | 164 | * |
165 | - * @return null|\self |
|
165 | + * @return AuthItemModel|null |
|
166 | 166 | */ |
167 | 167 | public static function find(string $id) |
168 | 168 | { |
@@ -115,7 +115,7 @@ |
||
115 | 115 | * |
116 | 116 | * @param int $id |
117 | 117 | * |
118 | - * @return mixed |
|
118 | + * @return string |
|
119 | 119 | */ |
120 | 120 | public function actionView(int $id) |
121 | 121 | { |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | /** |
67 | 67 | * Lists of all auth items |
68 | 68 | * |
69 | - * @return mixed |
|
69 | + * @return string |
|
70 | 70 | */ |
71 | 71 | public function actionIndex() |
72 | 72 | { |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | * |
86 | 86 | * @param string $id |
87 | 87 | * |
88 | - * @return mixed |
|
88 | + * @return string |
|
89 | 89 | */ |
90 | 90 | public function actionView(string $id) |
91 | 91 | { |
@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | * |
145 | 145 | * @param string $id |
146 | 146 | * |
147 | - * @return mixed |
|
147 | + * @return Response |
|
148 | 148 | */ |
149 | 149 | public function actionDelete(string $id) |
150 | 150 | { |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | /** |
48 | 48 | * List of all rules |
49 | 49 | * |
50 | - * @return mixed |
|
50 | + * @return string |
|
51 | 51 | */ |
52 | 52 | public function actionIndex() |
53 | 53 | { |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | * |
66 | 66 | * @param string $id |
67 | 67 | * |
68 | - * @return mixed |
|
68 | + * @return string |
|
69 | 69 | */ |
70 | 70 | public function actionView(string $id) |
71 | 71 | { |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | * |
124 | 124 | * @param string $id |
125 | 125 | * |
126 | - * @return mixed |
|
126 | + * @return \yii\web\Response |
|
127 | 127 | */ |
128 | 128 | public function actionDelete(string $id) |
129 | 129 | { |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | /** |
91 | 91 | * This method contains the logic to be executed when applying this migration. |
92 | 92 | * |
93 | - * @return bool return a false value to indicate the migration fails |
|
93 | + * @return boolean|null return a false value to indicate the migration fails |
|
94 | 94 | * and should not proceed further. All other return values mean the migration succeeds |
95 | 95 | */ |
96 | 96 | public function safeUp() |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | /** |
101 | 101 | * This method contains the logic to be executed when removing this migration. |
102 | 102 | * |
103 | - * @return bool return a false value to indicate the migration fails |
|
103 | + * @return boolean|null return a false value to indicate the migration fails |
|
104 | 104 | * and should not proceed further. All other return values mean the migration succeeds |
105 | 105 | */ |
106 | 106 | public function safeDown() |