@@ -44,8 +44,7 @@ |
||
| 44 | 44 | $this->insert(); |
| 45 | 45 | |
| 46 | 46 | $mapper->fireEvent('created', $entity, false); |
| 47 | - } |
|
| 48 | - else if ($this->aggregate->isDirty()) { |
|
| 47 | + } else if ($this->aggregate->isDirty()) { |
|
| 49 | 48 | if ($mapper->fireEvent('updating', $entity) === false) { |
| 50 | 49 | return false; |
| 51 | 50 | } |
@@ -129,8 +129,7 @@ |
||
| 129 | 129 | if ($this->hasSetMutator($key)) { |
| 130 | 130 | $method = 'set' . $this->getMutatorMethod($key); |
| 131 | 131 | $this->attributes[$key] = $this->$method($attribute); |
| 132 | - } |
|
| 133 | - else { |
|
| 132 | + } else { |
|
| 134 | 133 | $this->attributes[$key] = $attribute; |
| 135 | 134 | } |
| 136 | 135 | } |