@@ -186,7 +186,7 @@ |
||
| 186 | 186 | * Normalize menu |
| 187 | 187 | * @param array $assigned |
| 188 | 188 | * @param array $menus |
| 189 | - * @param Closure $callback |
|
| 189 | + * @param \Closure|null $callback |
|
| 190 | 190 | * @param integer $parent |
| 191 | 191 | * @return array |
| 192 | 192 | */ |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | |
| 56 | 56 | /** |
| 57 | 57 | * Lists all Assignment models. |
| 58 | - * @return mixed |
|
| 58 | + * @return string |
|
| 59 | 59 | */ |
| 60 | 60 | public function actionIndex() |
| 61 | 61 | { |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | /** |
| 82 | 82 | * Displays a single Assignment model. |
| 83 | 83 | * @param integer $id |
| 84 | - * @return mixed |
|
| 84 | + * @return string |
|
| 85 | 85 | */ |
| 86 | 86 | public function actionView($id) |
| 87 | 87 | { |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | 38 | * Lists all Menu models. |
| 39 | - * @return mixed |
|
| 39 | + * @return string |
|
| 40 | 40 | */ |
| 41 | 41 | public function actionIndex() |
| 42 | 42 | { |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | /** |
| 53 | 53 | * Displays a single Menu model. |
| 54 | 54 | * @param integer $id |
| 55 | - * @return mixed |
|
| 55 | + * @return string |
|
| 56 | 56 | */ |
| 57 | 57 | public function actionView($id) |
| 58 | 58 | { |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | * Deletes an existing Menu model. |
| 107 | 107 | * If deletion is successful, the browser will be redirected to the 'index' page. |
| 108 | 108 | * @param integer $id |
| 109 | - * @return mixed |
|
| 109 | + * @return \yii\web\Response |
|
| 110 | 110 | */ |
| 111 | 111 | public function actionDelete($id) |
| 112 | 112 | { |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | 38 | * Lists all AuthItem models. |
| 39 | - * @return mixed |
|
| 39 | + * @return string |
|
| 40 | 40 | */ |
| 41 | 41 | public function actionIndex() |
| 42 | 42 | { |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | /** |
| 53 | 53 | * Displays a single AuthItem model. |
| 54 | 54 | * @param string $id |
| 55 | - * @return mixed |
|
| 55 | + * @return string |
|
| 56 | 56 | */ |
| 57 | 57 | public function actionView($id) |
| 58 | 58 | { |
@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | * Deletes an existing AuthItem model. |
| 101 | 101 | * If deletion is successful, the browser will be redirected to the 'index' page. |
| 102 | 102 | * @param string $id |
| 103 | - * @return mixed |
|
| 103 | + * @return \yii\web\Response |
|
| 104 | 104 | */ |
| 105 | 105 | public function actionDelete($id) |
| 106 | 106 | { |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | * Finds the AuthItem model based on its primary key value. |
| 116 | 116 | * If the model is not found, a 404 HTTP exception will be thrown. |
| 117 | 117 | * @param string $id |
| 118 | - * @return AuthItem the loaded model |
|
| 118 | + * @return BizRule the loaded model |
|
| 119 | 119 | * @throws HttpException if the model cannot be found |
| 120 | 120 | */ |
| 121 | 121 | protected function findModel($id) |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | |
| 88 | 88 | /** |
| 89 | 89 | * Lists all User models. |
| 90 | - * @return mixed |
|
| 90 | + * @return string |
|
| 91 | 91 | */ |
| 92 | 92 | public function actionIndex() |
| 93 | 93 | { |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | /** |
| 104 | 104 | * Displays a single User model. |
| 105 | 105 | * @param integer $id |
| 106 | - * @return mixed |
|
| 106 | + * @return string |
|
| 107 | 107 | */ |
| 108 | 108 | public function actionView($id) |
| 109 | 109 | { |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | * Deletes an existing User model. |
| 117 | 117 | * If deletion is successful, the browser will be redirected to the 'index' page. |
| 118 | 118 | * @param integer $id |
| 119 | - * @return mixed |
|
| 119 | + * @return \yii\web\Response |
|
| 120 | 120 | */ |
| 121 | 121 | public function actionDelete($id) |
| 122 | 122 | { |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | |
| 148 | 148 | /** |
| 149 | 149 | * Logout |
| 150 | - * @return string |
|
| 150 | + * @return \yii\web\Response |
|
| 151 | 151 | */ |
| 152 | 152 | public function actionLogout() |
| 153 | 153 | { |
@@ -238,7 +238,7 @@ discard block |
||
| 238 | 238 | /** |
| 239 | 239 | * Activate new user |
| 240 | 240 | * @param integer $id |
| 241 | - * @return type |
|
| 241 | + * @return \yii\web\Response |
|
| 242 | 242 | * @throws UserException |
| 243 | 243 | * @throws NotFoundHttpException |
| 244 | 244 | */ |
@@ -149,7 +149,7 @@ |
||
| 149 | 149 | |
| 150 | 150 | /** |
| 151 | 151 | * Get item |
| 152 | - * @return Item |
|
| 152 | + * @return Rule |
|
| 153 | 153 | */ |
| 154 | 154 | public function getItem() |
| 155 | 155 | { |
@@ -219,7 +219,7 @@ |
||
| 219 | 219 | /** |
| 220 | 220 | * Get route of action |
| 221 | 221 | * @param \yii\base\Controller $controller |
| 222 | - * @param array $result all controller action. |
|
| 222 | + * @param string $result all controller action. |
|
| 223 | 223 | */ |
| 224 | 224 | protected function getActionRoutes($controller, &$result) |
| 225 | 225 | { |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | /** |
| 42 | 42 | * Search BizRule |
| 43 | 43 | * @param array $params |
| 44 | - * @return \yii\data\ActiveDataProvider|\yii\data\ArrayDataProvider |
|
| 44 | + * @return ArrayDataProvider |
|
| 45 | 45 | */ |
| 46 | 46 | public function search($params) |
| 47 | 47 | { |
@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Message translations. |
|
| 4 | - * |
|
| 5 | - * This file is automatically generated by 'yii message' command. |
|
| 6 | - * It contains the localizable messages extracted from source code. |
|
| 7 | - * You may modify this file by translating the extracted messages. |
|
| 8 | - * |
|
| 9 | - * Each array element represents the translation (value) of a message (key). |
|
| 10 | - * If the value is empty, the message is considered as not translated. |
|
| 11 | - * Messages that no longer need translation will have their translations |
|
| 12 | - * enclosed between a pair of '@@' marks. |
|
| 13 | - * |
|
| 14 | - * Message string can be used with plural forms format. Check i18n section |
|
| 15 | - * of the guide for details. |
|
| 16 | - * |
|
| 17 | - * NOTE: this file must be saved in UTF-8 encoding. |
|
| 18 | - * @author dinhtrung. |
|
| 19 | - */ |
|
| 3 | + * Message translations. |
|
| 4 | + * |
|
| 5 | + * This file is automatically generated by 'yii message' command. |
|
| 6 | + * It contains the localizable messages extracted from source code. |
|
| 7 | + * You may modify this file by translating the extracted messages. |
|
| 8 | + * |
|
| 9 | + * Each array element represents the translation (value) of a message (key). |
|
| 10 | + * If the value is empty, the message is considered as not translated. |
|
| 11 | + * Messages that no longer need translation will have their translations |
|
| 12 | + * enclosed between a pair of '@@' marks. |
|
| 13 | + * |
|
| 14 | + * Message string can be used with plural forms format. Check i18n section |
|
| 15 | + * of the guide for details. |
|
| 16 | + * |
|
| 17 | + * NOTE: this file must be saved in UTF-8 encoding. |
|
| 18 | + * @author dinhtrung. |
|
| 19 | + */ |
|
| 20 | 20 | return [ |
| 21 | 21 | 'Append' => 'Thêm vào', |
| 22 | 22 | 'Application' => 'Ứng dụng', |