Completed
Push — 6.0 ( ec6b74...3d2548 )
by liu
03:40
created
src/think/Model.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 // +----------------------------------------------------------------------
9 9
 // | Author: liu21st <[email protected]>
10 10
 // +----------------------------------------------------------------------
11
-declare (strict_types = 1);
11
+declare(strict_types=1);
12 12
 
13 13
 namespace think;
14 14
 
@@ -310,12 +310,12 @@  discard block
 block discarded – undo
310 310
             $query = $this->queryInstance;
311 311
         } else {
312 312
             $query = $this->db->buildQuery($this->connection)
313
-                ->name($this->name . $this->suffix)
313
+                ->name($this->name.$this->suffix)
314 314
                 ->pk($this->pk);
315 315
         }
316 316
         
317 317
         if (!empty($this->table)) {
318
-            $query->table($this->table . $this->suffix);
318
+            $query->table($this->table.$this->suffix);
319 319
         }
320 320
 
321 321
         $query->model($this)
@@ -515,7 +515,7 @@  discard block
 block discarded – undo
515 515
                 $this->field = array_keys(array_merge($this->schema, $this->jsonType));
516 516
             } else {
517 517
                 $query = $this->db();
518
-                $table = $this->table ? $this->table . $this->suffix : $query->getTable();
518
+                $table = $this->table ? $this->table.$this->suffix : $query->getTable();
519 519
 
520 520
                 $this->field = $query->getConnection()->getTableFields($table);
521 521
             }
Please login to merge, or discard this patch.