@@ -233,8 +233,7 @@ |
||
| 233 | 233 | "size: {$this->size}", |
| 234 | 234 | "blobId: {$blobId}", |
| 235 | 235 | ]); |
| 236 | - } |
|
| 237 | - elseif ($this->isLink()) |
|
| 236 | + } elseif ($this->isLink()) |
|
| 238 | 237 | { |
| 239 | 238 | $parts = array_merge($parts, [ |
| 240 | 239 | "target: {$this->linkTarget}", |
@@ -75,12 +75,10 @@ discard block |
||
| 75 | 75 | if ($localObjectModified && $remoteObjectModified) |
| 76 | 76 | { |
| 77 | 77 | $mergedIndex->addObject($this->resolveConflict($conflictHandler, $remoteObject, $localObject, $lastLocalObject)); |
| 78 | - } |
|
| 79 | - elseif ($localObjectModified && $localObject !== null) |
|
| 78 | + } elseif ($localObjectModified && $localObject !== null) |
|
| 80 | 79 | { |
| 81 | 80 | $mergedIndex->addObject($localObject); |
| 82 | - } |
|
| 83 | - elseif ($remoteObjectModified && $remoteObject !== null) |
|
| 81 | + } elseif ($remoteObjectModified && $remoteObject !== null) |
|
| 84 | 82 | { |
| 85 | 83 | $mergedIndex->addObject($remoteObject); |
| 86 | 84 | } |
@@ -137,8 +135,7 @@ discard block |
||
| 137 | 135 | if ($lastLocalObject) |
| 138 | 136 | { |
| 139 | 137 | return !$lastLocalObject->equals($remoteObject, IndexObject::CMP_IGNORE_BLOBID | IndexObject::CMP_IGNORE_INODE); |
| 140 | - } |
|
| 141 | - else |
|
| 138 | + } else |
|
| 142 | 139 | { |
| 143 | 140 | return $remoteObject !== null; |
| 144 | 141 | } |