@@ -23,8 +23,7 @@ |
||
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 |