Skip to content

Commit 0de4572

Browse files
committed
#21869: Static test fix.
1 parent 3773c27 commit 0de4572

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/code/Magento/Eav/Model/Entity/Collection/AbstractCollection.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ public function setEntity($entity)
264264
$this->_entity = $this->_eavEntityFactory->create()->setType($entity);
265265
} else {
266266
throw new LocalizedException(
267-
__('The "%1" entity supplied is invalid. Verify the entity and try again.', print_r($entity, 1))
267+
__('The entity supplied to collection is invalid. Verify the entity and try again.')
268268
);
269269
}
270270
return $this;
@@ -1165,7 +1165,6 @@ public function _loadEntities($printQuery = false, $logQuery = false)
11651165
* @param bool $printQuery
11661166
* @param bool $logQuery
11671167
* @return $this
1168-
* @throws LocalizedException
11691168
* @throws \Exception
11701169
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
11711170
* @SuppressWarnings(PHPMD.NPathComplexity)

0 commit comments

Comments
 (0)