diff --git a/composer.json b/composer.json index c814b7c..942d6c0 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "ergonode/integration-shopware", "description": "Shopware Ergonode Integration", - "version": "3.0.0", + "version": "3.0.1", "type": "shopware-platform-plugin", "license": "proprietary", "authors": [ diff --git a/src/Processor/Attribute/ManufacturerAttributeProcessor.php b/src/Processor/Attribute/ManufacturerAttributeProcessor.php index b7d5c62..0edb59f 100644 --- a/src/Processor/Attribute/ManufacturerAttributeProcessor.php +++ b/src/Processor/Attribute/ManufacturerAttributeProcessor.php @@ -101,7 +101,7 @@ private function removeLegacyManufacturers(array $processedIds, Context $context ); $criteria->addFilter(new EqualsFilter('type', self::MAPPING_TYPE)); $existingIds = $this->mappingExtensionRepository->searchIds($criteria, $context); - $existingIds = array_map(fn($id) => ['id' => $id], $existingIds); + $existingIds = array_map(fn($id) => ['id' => $id], $existingIds->getIds()); if (empty($existingIds)) { return; }