Test Failed
Branch master (73072d)
by graychen
04:17
created
src/models/App.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
 
178 178
     public function getNum($id)
179 179
     {
180
-         return AppLog::find()->where(['app_id'=>$id])->count();
180
+            return AppLog::find()->where(['app_id'=>$id])->count();
181 181
     }
182 182
 }
183 183
 
Please login to merge, or discard this patch.
src/app/view.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
                 'value'=>function($model){
41 41
                     if($model->status==0){
42 42
                         return "开发状态";
43
-                    }elseif($model->status==1){
43
+                    } elseif($model->status==1){
44 44
                         return "部署状态";
45 45
                     }
46 46
                 }
Please login to merge, or discard this patch.