From 5b783ef5796055e793ce2e5c64dc049ae653916d Mon Sep 17 00:00:00 2001 From: Denny Lubitz Date: Mon, 23 Sep 2024 20:32:51 +0200 Subject: [PATCH] FEATURE: AssetUsage as CatchUpHook --- Neos.Neos/Classes/Service/ImageVariantGarbageCollector.php | 1 - 1 file changed, 1 deletion(-) diff --git a/Neos.Neos/Classes/Service/ImageVariantGarbageCollector.php b/Neos.Neos/Classes/Service/ImageVariantGarbageCollector.php index 3e44e068bab..8c6470d4e59 100644 --- a/Neos.Neos/Classes/Service/ImageVariantGarbageCollector.php +++ b/Neos.Neos/Classes/Service/ImageVariantGarbageCollector.php @@ -78,7 +78,6 @@ public function removeUnusedImageVariant(Node $node, $propertyName, $oldValue, $ // then we are safe to remove the asset here. if ( $usageItem instanceof AssetUsageReference - /** @phpstan-ignore-next-line todo needs repair see https://github.com/neos/neos-development-collection/issues/5145 */ && $usageItem->getWorkspaceName()->equals($node->workspaceName) && $usageItem->getOriginDimensionSpacePoint()->equals($node->originDimensionSpacePoint) && $usageItem->getNodeAggregateId()->equals($node->aggregateId)