Completed
Pull Request — master (#251)
by
unknown
05:16
created
messages/zh-CN/rbac-admin.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -1,20 +1,20 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Message translations for \mdmsoft\yii2-admin.
4
- *
5
- * It contains the localizable messages extracted from source code.
6
- * You may modify this file by translating the extracted messages.
7
- *
8
- * Each array element represents the translation (value) of a message (key).
9
- * If the value is empty, the message is considered as not translated.
10
- * Messages that no longer need translation will have their translations
11
- * enclosed between a pair of '@@' marks.
12
- *
13
- * Message string can be used with plural forms format. Check i18n section
14
- * of the guide for details.
15
- *
16
- * NOTE: this file must be saved in UTF-8 encoding.
17
- */
3
+     * Message translations for \mdmsoft\yii2-admin.
4
+     *
5
+     * It contains the localizable messages extracted from source code.
6
+     * You may modify this file by translating the extracted messages.
7
+     *
8
+     * Each array element represents the translation (value) of a message (key).
9
+     * If the value is empty, the message is considered as not translated.
10
+     * Messages that no longer need translation will have their translations
11
+     * enclosed between a pair of '@@' marks.
12
+     *
13
+     * Message string can be used with plural forms format. Check i18n section
14
+     * of the guide for details.
15
+     *
16
+     * NOTE: this file must be saved in UTF-8 encoding.
17
+     */
18 18
 return [
19 19
     'Assignments' => 'การกำหนด',
20 20
     'Users' => 'ผู้ใช้งาน',
Please login to merge, or discard this patch.
views/rule/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
                 'attribute' => 'description',
42 42
                 'label' => Yii::t('rbac-admin', 'Description'),
43 43
             ],
44
-            ['class' => 'yii\grid\ActionColumn',],
44
+            ['class' => 'yii\grid\ActionColumn', ],
45 45
         ],
46 46
     ])
47 47
     ?>
Please login to merge, or discard this patch.
mail/passwordResetToken-html.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 /* @var $this yii\web\View */
5 5
 /* @var $user mdm\admin\models\User */
6 6
 
7
-$resetLink = Url::to(['user/reset-password','token'=>$user->password_reset_token], true);
7
+$resetLink = Url::to(['user/reset-password', 'token'=>$user->password_reset_token], true);
8 8
 ?>
9 9
 Hello <?= $user->username ?>,
10 10
 
Please login to merge, or discard this patch.
components/ItemController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
models/AuthItem.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
     /**
112 112
      * Find role
113 113
      * @param string $id
114
-     * @return null|\self
114
+     * @return AuthItem|null
115 115
      */
116 116
     public static function find($id)
117 117
     {
Please login to merge, or discard this patch.