From eaee660d90862a561fe19f2d91440afd2f8ca602 Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Mon, 20 May 2024 20:12:35 +0200 Subject: [PATCH] TASK: Remove reference to `$node->subgraphIdentity->contentStreamId` --- .../src/Adjustment/PropertyAdjustment.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Neos.ContentRepository.StructureAdjustment/src/Adjustment/PropertyAdjustment.php b/Neos.ContentRepository.StructureAdjustment/src/Adjustment/PropertyAdjustment.php index 15613865d14..d0596cdfb93 100644 --- a/Neos.ContentRepository.StructureAdjustment/src/Adjustment/PropertyAdjustment.php +++ b/Neos.ContentRepository.StructureAdjustment/src/Adjustment/PropertyAdjustment.php @@ -116,8 +116,8 @@ private function publishNodePropertiesWereSet( ): EventsToPublish { $events = Events::with( new NodePropertiesWereSet( - $node->workspaceName, - $node->subgraphIdentity->contentStreamId, + $this->contentGraph->getWorkspaceName(), + $this->contentGraph->getContentStreamId(), $node->aggregateId, $node->originDimensionSpacePoint, $nodeAggregate->getCoverageByOccupant($node->originDimensionSpacePoint), @@ -126,7 +126,7 @@ private function publishNodePropertiesWereSet( ) ); - $streamName = ContentStreamEventStreamName::fromContentStreamId($node->subgraphIdentity->contentStreamId); + $streamName = ContentStreamEventStreamName::fromContentStreamId($this->contentGraph->getContentStreamId()); return new EventsToPublish( $streamName->getEventStreamName(), $events,