@@ -238,8 +238,8 @@ |
||
| 238 | 238 | private function compileInsertValues(AbstractBuilder $qb) |
| 239 | 239 | { |
| 240 | 240 | if ($qb instanceof Component\InsertValuesComponentInterface) { |
| 241 | - return 'VALUES ' . implode(', ', array_map(function (array $values) { |
|
| 242 | - return '('. implode(', ', $values) . ')'; |
|
| 241 | + return 'VALUES ' . implode(', ', array_map(function(array $values) { |
|
| 242 | + return '(' . implode(', ', $values) . ')'; |
|
| 243 | 243 | }, $qb->getValues())); |
| 244 | 244 | } |
| 245 | 245 | |
@@ -62,7 +62,7 @@ |
||
| 62 | 62 | private function convertReferenceToValue($reference) |
| 63 | 63 | { |
| 64 | 64 | if (is_string($reference)) { |
| 65 | - return "\"" . $reference ."\""; |
|
| 65 | + return "\"" . $reference . "\""; |
|
| 66 | 66 | } elseif ($reference instanceof AbstractTable) { |
| 67 | 67 | return $reference->getAliasOrName(); |
| 68 | 68 | } elseif ($reference instanceof QueryComponentInterface) { |