Passed
Push — main ( f418cb...c16d56 )
by Thierry
03:52 queued 01:52
created
src/Db/Query.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,8 +23,7 @@
 block discarded – undo
23 23
      */
24 24
     public function insert(string $table, array $set)
25 25
     {
26
-        $result = ($set ? parent::insert($table, $set) :
27
-            $this->execute('INSERT INTO ' . $this->driver->table($table) . ' () VALUES ()'));
26
+        $result = ($set ? parent::insert($table, $set) : $this->execute('INSERT INTO ' . $this->driver->table($table) . ' () VALUES ()'));
28 27
         return $result == true;
29 28
     }
30 29
 
Please login to merge, or discard this patch.