Skip to content

Commit

Permalink
TASK: Followup to #3844
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Nov 1, 2024
1 parent b810deb commit ae08906
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Classes/Domain/Model/Changes/Property.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ private function handleNodeReferenceChange(Node $subject, string $propertyName):
$subject->workspaceName,
$subject->aggregateId,
$subject->originDimensionSpacePoint,
NodeReferencesToWrite::fromReferences(
NodeReferencesForName::fromNameAndTargets(
NodeReferencesToWrite::create(
NodeReferencesForName::fromTargets(
ReferenceName::fromString($propertyName),
NodeAggregateIds::fromArray($destinationNodeAggregateIds)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function handle(NodeCreationCommands $commands, NodeCreationElements $ele
$referenceConfiguration = $nodeType->getReferences()[$elementName];
if (($referenceConfiguration['ui']['showInCreationDialog'] ?? false) === true) {
$initialReferences = $initialReferences->withReference(
NodeReferencesForName::fromNameAndTargets(
NodeReferencesForName::fromTargets(
ReferenceName::fromString($elementName),
$elementValue
)
Expand Down

0 comments on commit ae08906

Please sign in to comment.