@@ -136,10 +136,10 @@ |
||
| 136 | 136 | */ |
| 137 | 137 | public function getChangesModificationNeeded() { |
| 138 | 138 | $filtered = []; |
| 139 | - foreach ($this->getChanges() as $change => $details) { |
|
| 140 | - if (array_key_exists('description', $details)) { |
|
| 139 | + foreach($this->getChanges() as $change => $details) { |
|
| 140 | + if(array_key_exists('description', $details)) { |
|
| 141 | 141 | $filtered[$change] = $details; |
| 142 | - } else if ( |
|
| 142 | + } else if( |
|
| 143 | 143 | (array_key_exists('from', $details) || array_key_exists('to', $details)) |
| 144 | 144 | && $details['from'] !== $details['to'] |
| 145 | 145 | ) { |