@@ -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); |
@@ -164,8 +164,8 @@ discard block |
||
| 164 | 164 | } |
| 165 | 165 | |
| 166 | 166 | $statement = 'UPDATE ' . $this->escapeIdentifier($entity::getTableName()) . ' ' . |
| 167 | - 'SET ' . implode(',', $set) . ' ' . |
|
| 168 | - 'WHERE ' . implode(' AND ', $where); |
|
| 167 | + 'SET ' . implode(',', $set) . ' ' . |
|
| 168 | + 'WHERE ' . implode(' AND ', $where); |
|
| 169 | 169 | $this->entityManager->getConnection()->query($statement); |
| 170 | 170 | |
| 171 | 171 | return $this->entityManager->sync($entity, true); |
@@ -189,7 +189,7 @@ discard block |
||
| 189 | 189 | } |
| 190 | 190 | |
| 191 | 191 | $statement = 'DELETE FROM ' . $this->escapeIdentifier($entity::getTableName()) . ' ' . |
| 192 | - 'WHERE ' . implode(' AND ', $where); |
|
| 192 | + 'WHERE ' . implode(' AND ', $where); |
|
| 193 | 193 | $this->entityManager->getConnection()->query($statement); |
| 194 | 194 | |
| 195 | 195 | return true; |
@@ -220,7 +220,7 @@ discard block |
||
| 220 | 220 | ); |
| 221 | 221 | |
| 222 | 222 | $statement = 'INSERT INTO ' . $this->escapeIdentifier($entity::getTableName()) . ' ' . |
| 223 | - '(' . implode(',', $cols) . ') VALUES (' . implode(',', $values) . ')'; |
|
| 223 | + '(' . implode(',', $cols) . ') VALUES (' . implode(',', $values) . ')'; |
|
| 224 | 224 | |
| 225 | 225 | return $statement; |
| 226 | 226 | } |