Completed
Push — master ( 067418...4daa60 )
by Xu
47:44 queued 07:08
created
src/console/views/migrate/addColumnMigration.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@
 block discarded – undo
23 23
 /**
24 24
  * Handles adding <?= $columns ?> to table `<?= $table ?>`.
25 25
 <?= $this->render('_foreignTables', [
26
-     'foreignKeys' => $foreignKeys,
27
- ]) ?>
26
+        'foreignKeys' => $foreignKeys,
27
+    ]) ?>
28 28
  */
29 29
 class <?= $className ?> extends Migration
30 30
 {
Please login to merge, or discard this patch.
src/admin/views/menu/index.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
                     [
55 55
                         'attribute' => 'icon',
56 56
                         'value' => function($model) {
57
-                           return Html::icon($model->icon);
57
+                            return Html::icon($model->icon);
58 58
                         },
59 59
                         'format' => 'raw'
60 60
                     ],
Please login to merge, or discard this patch.
src/admin/views/security/login.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
                 'autocomplete' => 'off',
57 57
                 'placeholder' => Yii::t('yuncms', 'Password')
58 58
             ],
59
-           'errorOptions' => ['class' => 'help-block help-block-error full-width','style'=>'text-align:left'],
59
+            'errorOptions' => ['class' => 'help-block help-block-error full-width','style'=>'text-align:left'],
60 60
         ])->passwordInput()->label(false) ?>
61 61
 
62 62
         <?= $form->field($model, 'verifyCode', [
Please login to merge, or discard this patch.
src/admin/widgets/PaceAsset.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -4,25 +4,25 @@
 block discarded – undo
4 4
  * @copyright Copyright (c) 2012 TintSoft Technology Co. Ltd.
5 5
  * @license http://www.tintsoft.com/license/
6 6
  */
7
- namespace xutl\inspinia;
7
+    namespace xutl\inspinia;
8 8
 
9
- use yii\web\View;
10
- use yii\web\AssetBundle;
9
+    use yii\web\View;
10
+    use yii\web\AssetBundle;
11 11
 
12
- class PaceAsset extends AssetBundle{
13
-     public $sourcePath = '@yuncms/admin/resources/assets';
12
+    class PaceAsset extends AssetBundle{
13
+        public $sourcePath = '@yuncms/admin/resources/assets';
14 14
 
15
-     /**
16
-      * 发布参数
17
-      *
18
-      * @var array
19
-      */
20
-     public $jsOptions = [
21
-         'position' => View::POS_HEAD,
22
-         'data-pace-options' => ['restartOnRequestAfter' => true]
23
-     ];
15
+        /**
16
+         * 发布参数
17
+         *
18
+         * @var array
19
+         */
20
+        public $jsOptions = [
21
+            'position' => View::POS_HEAD,
22
+            'data-pace-options' => ['restartOnRequestAfter' => true]
23
+        ];
24 24
 
25
-     public $js = [
26
-         'js/plugins/pace/pace.min.js'
27
-     ];
28
- }
29 25
\ No newline at end of file
26
+        public $js = [
27
+            'js/plugins/pace/pace.min.js'
28
+        ];
29
+    }
30 30
\ No newline at end of file
Please login to merge, or discard this patch.
src/admin/views/layouts/_navigation_header.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 use yii\helpers\Url;
3 3
 use yuncms\helpers\Html;
4
- ?>
4
+    ?>
5 5
 <li class="nav-header">
6 6
     <div class="logo-element-main">
7 7
         YUNCMS
Please login to merge, or discard this patch.
src/admin/controllers/TaskController.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -121,14 +121,14 @@
 block discarded – undo
121 121
         Yii::$app->getSession()->setFlash('success', Yii::t('yuncms', 'Delete success.'));
122 122
         return $this->redirect(['index']);
123 123
     }
124
-     /**
125
-      * Batch Delete existing Task model.
126
-      * If deletion is successful, the browser will be redirected to the 'index' page.
127
-      * @return mixed
128
-      * @throws NotFoundHttpException
129
-      * @throws \Throwable
130
-      * @throws \yii\db\StaleObjectException
131
-      */
124
+        /**
125
+         * Batch Delete existing Task model.
126
+         * If deletion is successful, the browser will be redirected to the 'index' page.
127
+         * @return mixed
128
+         * @throws NotFoundHttpException
129
+         * @throws \Throwable
130
+         * @throws \yii\db\StaleObjectException
131
+         */
132 132
     public function actionBatchDelete()
133 133
     {
134 134
         if (($ids = Yii::$app->request->post('ids', null)) != null) {
Please login to merge, or discard this patch.