Skip to content

Commit

Permalink
TASK: Remove NodeAggregate::$contentStreamId
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Jun 30, 2024
1 parent ae14802 commit b7b7599
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ public function mapNodeRowsToNodeAggregate(
$nodesByCoveredDimensionSpacePoints,
OriginByCoverage::fromArray($occupationByCovering),
$dimensionSpacePointsBySubtreeTags,
$contentStreamId,
);
}

Expand Down Expand Up @@ -338,7 +337,6 @@ public function mapNodeRowsToNodeAggregates(
$occupationByCoveringByNodeAggregate[$rawNodeAggregateId]
),
$dimensionSpacePointsBySubtreeTagsByNodeAggregate[$rawNodeAggregateId],
$contentStreamId,
);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ public function mapNodeRowsToNodeAggregate(
OriginByCoverage::fromArray($occupationByCovered),
// TODO implement (see \Neos\ContentGraph\DoctrineDbalAdapter\Domain\Repository\NodeFactory::mapNodeRowsToNodeAggregate())
DimensionSpacePointsBySubtreeTags::create(),
$contentStreamId,
);
}

Expand Down Expand Up @@ -357,7 +356,6 @@ public function mapNodeRowsToNodeAggregates(array $nodeRows, VisibilityConstrain
OriginByCoverage::fromArray($occupationByCovered[$key]),
// TODO implement (see \Neos\ContentGraph\DoctrineDbalAdapter\Domain\Repository\NodeFactory::mapNodeRowsToNodeAggregates())
DimensionSpacePointsBySubtreeTags::create(),
$contentStreamId,
);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,6 @@
*/
final readonly class NodeAggregate
{
/**
* This was intermediate part of the node aggregate. Please use {@see $workspaceName} instead.
* @deprecated will be removed before the final 9.0 release
*/
public ContentStreamId $contentStreamId;

/**
* @param ContentRepositoryId $contentRepositoryId The content-repository this node aggregate belongs to
* @param WorkspaceName $workspaceName The workspace of this node aggregate
Expand Down Expand Up @@ -88,9 +82,7 @@ private function __construct(
private array $nodesByCoveredDimensionSpacePoint,
private OriginByCoverage $occupationByCovered,
private DimensionSpacePointsBySubtreeTags $dimensionSpacePointsBySubtreeTags,
ContentStreamId $contentStreamId,
) {
$this->contentStreamId = $contentStreamId;
}

/**
Expand All @@ -112,7 +104,6 @@ public static function create(
array $nodesByCoveredDimensionSpacePoint,
OriginByCoverage $occupationByCovered,
DimensionSpacePointsBySubtreeTags $dimensionSpacePointsBySubtreeTags,
ContentStreamId $contentStreamId,
): self {
return new self(
$contentRepositoryId,
Expand All @@ -128,7 +119,6 @@ public static function create(
$nodesByCoveredDimensionSpacePoint,
$occupationByCovered,
$dimensionSpacePointsBySubtreeTags,
$contentStreamId,
);
}

Expand Down

0 comments on commit b7b7599

Please sign in to comment.