@@ -575,7 +575,7 @@ |
||
| 575 | 575 | if (!empty($attribute)) { |
| 576 | 576 | $col = static::getColumnName($attribute); |
| 577 | 577 | return (isset($this->data[$col]) ? $this->data[$col] : null) !== |
| 578 | - (isset($this->originalData[$col]) ? $this->originalData[$col] : null); |
|
| 578 | + (isset($this->originalData[$col]) ? $this->originalData[$col] : null); |
|
| 579 | 579 | } |
| 580 | 580 | |
| 581 | 581 | ksort($this->data); |
@@ -163,8 +163,8 @@ discard block |
||
| 163 | 163 | } |
| 164 | 164 | |
| 165 | 165 | $statement = 'UPDATE ' . $this->escapeIdentifier($entity::getTableName()) . ' ' . |
| 166 | - 'SET ' . implode(',', $set) . ' ' . |
|
| 167 | - 'WHERE ' . implode(' AND ', $where); |
|
| 166 | + 'SET ' . implode(',', $set) . ' ' . |
|
| 167 | + 'WHERE ' . implode(' AND ', $where); |
|
| 168 | 168 | $this->entityManager->getConnection()->query($statement); |
| 169 | 169 | |
| 170 | 170 | return $this->entityManager->sync($entity, true); |
@@ -188,7 +188,7 @@ discard block |
||
| 188 | 188 | } |
| 189 | 189 | |
| 190 | 190 | $statement = 'DELETE FROM ' . $this->escapeIdentifier($entity::getTableName()) . ' ' . |
| 191 | - 'WHERE ' . implode(' AND ', $where); |
|
| 191 | + 'WHERE ' . implode(' AND ', $where); |
|
| 192 | 192 | $this->entityManager->getConnection()->query($statement); |
| 193 | 193 | |
| 194 | 194 | return true; |
@@ -213,7 +213,7 @@ discard block |
||
| 213 | 213 | }, array_values($data)); |
| 214 | 214 | |
| 215 | 215 | $statement = 'INSERT INTO ' . $this->escapeIdentifier($entity::getTableName()) . ' ' . |
| 216 | - '(' . implode(',', $cols) . ') VALUES (' . implode(',', $values) . ')'; |
|
| 216 | + '(' . implode(',', $cols) . ') VALUES (' . implode(',', $values) . ')'; |
|
| 217 | 217 | |
| 218 | 218 | return $statement; |
| 219 | 219 | } |