Skip to content

Commit 0a429fa

Browse files
committed
MC-18696: The cart rules disappear with error: Item (Magento\SalesRule\Model\Rule\Interceptor) with the same ID "140" already exists
1 parent b9ecbc9 commit 0a429fa

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

app/code/Magento/Rule/Model/ResourceModel/Rule/Collection/AbstractCollection.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/**
1010
* Abstract Rule entity resource collection model
1111
*
12+
* phpcs:disable Magento2.Classes.AbstractApi
1213
* @api
1314
* @since 100.0.2
1415
*/
@@ -137,11 +138,11 @@ public function addIsActiveFilter($isActive = 1)
137138
}
138139

139140
/**
140-
* Retrieve correspondent entity information (associations table name, columns names)
141-
* of rule's associated entity by specified entity type
141+
* Retrieve correspondent entity information of rule's associated entity by specified entity type
142142
*
143-
* @param string $entityType
143+
* (associations table name, columns names)
144144
*
145+
* @param string $entityType
145146
* @throws \Magento\Framework\Exception\LocalizedException
146147
* @return array
147148
*/

0 commit comments

Comments
 (0)