@@ -199,8 +199,8 @@ discard block |
||
| 199 | 199 | } |
| 200 | 200 | |
| 201 | 201 | $statement = 'UPDATE ' . $this->escapeIdentifier($entity::getTableName()) . ' ' . |
| 202 | - 'SET ' . implode(',', $set) . ' ' . |
|
| 203 | - 'WHERE ' . implode(' AND ', $where); |
|
| 202 | + 'SET ' . implode(',', $set) . ' ' . |
|
| 203 | + 'WHERE ' . implode(' AND ', $where); |
|
| 204 | 204 | $this->entityManager->getConnection()->query($statement); |
| 205 | 205 | |
| 206 | 206 | return $this->entityManager->sync($entity, true); |
@@ -224,7 +224,7 @@ discard block |
||
| 224 | 224 | } |
| 225 | 225 | |
| 226 | 226 | $statement = 'DELETE FROM ' . $this->escapeIdentifier($entity::getTableName()) . ' ' . |
| 227 | - 'WHERE ' . implode(' AND ', $where); |
|
| 227 | + 'WHERE ' . implode(' AND ', $where); |
|
| 228 | 228 | $this->entityManager->getConnection()->query($statement); |
| 229 | 229 | |
| 230 | 230 | return true; |
@@ -251,7 +251,7 @@ discard block |
||
| 251 | 251 | $cols = array_combine($cols, array_map([$this, 'escapeIdentifier'], $cols)); |
| 252 | 252 | |
| 253 | 253 | $statement = 'INSERT INTO ' . $this->escapeIdentifier($entity::getTableName()) . ' ' . |
| 254 | - '(' . implode(',', $cols) . ') VALUES '; |
|
| 254 | + '(' . implode(',', $cols) . ') VALUES '; |
|
| 255 | 255 | |
| 256 | 256 | $statement .= implode(',', array_map(function ($values) use ($cols) { |
| 257 | 257 | $result = []; |