Skip to content

Commit

Permalink
TASK: Adjust to rename EventThatFailedDuringRebase to `ConflictingE…
Browse files Browse the repository at this point in the history
…vent` 2
  • Loading branch information
mhsdesign committed Nov 9, 2024
1 parent c2e9f67 commit 9175b0e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Classes/Infrastructure/ContentRepository/ConflictsFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@ public function fromWorkspaceRebaseFailed(
return new Conflicts(...$conflictsByKey);
}

private function createConflictFromEventThatFailedDuringRebase(
ConflictingEvent $eventThatFailedDuringRebase
private function createConflict(
ConflictingEvent $conflictingEvent
): Conflict {
$nodeAggregateId = $eventThatFailedDuringRebase->getAffectedNodeAggregateId();
$nodeAggregateId = $conflictingEvent->getAffectedNodeAggregateId();
$subgraph = $this->acquireSubgraph(
$eventThatFailedDuringRebase->getEvent(),
$conflictingEvent->getEvent(),
$nodeAggregateId
);
$affectedSite = $nodeAggregateId
Expand Down Expand Up @@ -125,10 +125,10 @@ private function createConflictFromEventThatFailedDuringRebase(
? $this->createIconLabelForNode($affectedNode)
: null,
typeOfChange: $this->createTypeOfChange(
$eventThatFailedDuringRebase->getEvent()
$conflictingEvent->getEvent()
),
reasonForConflict: $this->createReasonForConflictFromException(
$eventThatFailedDuringRebase->getException()
$conflictingEvent->getException()
)
);
}
Expand Down

0 comments on commit 9175b0e

Please sign in to comment.