Passed
Branch master (847752)
by Misbahul D
05:16
created
models/Route.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
models/searchs/AuthItem.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     /**
53 53
      * Search authitem
54 54
      * @param array $params
55
-     * @return \yii\data\ActiveDataProvider|\yii\data\ArrayDataProvider
55
+     * @return ArrayDataProvider
56 56
      */
57 57
     public function search($params)
58 58
     {
Please login to merge, or discard this patch.
models/searchs/BizRule.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
models/searchs/Menu.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace mdm\admin\models\searchs;
4 4
 
5
-use Yii;
6 5
 use yii\base\Model;
7 6
 use yii\data\ActiveDataProvider;
8 7
 use mdm\admin\models\Menu as MenuModel;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     {
46 46
         $query = MenuModel::find()
47 47
             ->from(MenuModel::tableName() . ' t')
48
-            ->joinWith(['menuParent' => function ($q) {
48
+            ->joinWith(['menuParent' => function($q) {
49 49
             $q->from(MenuModel::tableName() . ' parent');
50 50
         }]);
51 51
 
Please login to merge, or discard this patch.
messages/vi/rbac-admin.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -1,22 +1,22 @@
 block discarded – undo
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',
Please login to merge, or discard this patch.
messages/ja/rbac-admin.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -1,21 +1,21 @@
 block discarded – undo
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
- */
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
+     */
19 19
 return [
20 20
     'Append' => '追加',
21 21
     'Application' => 'アプリケーション',
Please login to merge, or discard this patch.
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.
messages/th/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.
mail/passwordResetToken-html.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 /* @var $this yii\web\View */
6 6
 /* @var $user mdm\admin\models\User */
7 7
 
8
-$resetLink = Url::to(['user/reset-password','token'=>$user->password_reset_token], true);
8
+$resetLink = Url::to(['user/reset-password', 'token'=>$user->password_reset_token], true);
9 9
 ?>
10 10
 <div class="password-reset">
11 11
     <p>Hello <?= Html::encode($user->username) ?>,</p>
Please login to merge, or discard this patch.