From 39b8d1caac8c4dc670c82baba124e1066143b89b Mon Sep 17 00:00:00 2001 From: Denny Lubitz Date: Thu, 24 Oct 2024 15:08:08 +0200 Subject: [PATCH] TASK: Use constant instead of string MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Christian Müller --- Neos.Neos/Classes/PendingChangesProjection/Change.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Neos.Neos/Classes/PendingChangesProjection/Change.php b/Neos.Neos/Classes/PendingChangesProjection/Change.php index 0fb47251d20..798902f5517 100644 --- a/Neos.Neos/Classes/PendingChangesProjection/Change.php +++ b/Neos.Neos/Classes/PendingChangesProjection/Change.php @@ -87,7 +87,7 @@ public function updateToDatabase(Connection $databaseConnection, string $tableNa 'contentStreamId' => $this->contentStreamId->value, 'nodeAggregateId' => $this->nodeAggregateId->value, 'originDimensionSpacePoint' => $this->originDimensionSpacePoint?->toJson(), - 'originDimensionSpacePointHash' => $this->originDimensionSpacePoint?->hash ?: 'AGGREGATE', + 'originDimensionSpacePointHash' => $this->originDimensionSpacePoint?->hash ?: self::AGGREGATE_DIMENSIONSPACEPOINT_HASH_PLACEHOLDER, ] ); } catch (DbalException $e) {