Skip to content

Commit

Permalink
#21869: Static test fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
p-bystritsky committed Apr 9, 2019
1 parent 3773c27 commit 0de4572
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ public function setEntity($entity)
$this->_entity = $this->_eavEntityFactory->create()->setType($entity);
} else {
throw new LocalizedException(
__('The "%1" entity supplied is invalid. Verify the entity and try again.', print_r($entity, 1))
__('The entity supplied to collection is invalid. Verify the entity and try again.')
);
}
return $this;
Expand Down Expand Up @@ -1165,7 +1165,6 @@ public function _loadEntities($printQuery = false, $logQuery = false)
* @param bool $printQuery
* @param bool $logQuery
* @return $this
* @throws LocalizedException
* @throws \Exception
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
* @SuppressWarnings(PHPMD.NPathComplexity)
Expand Down

0 comments on commit 0de4572

Please sign in to comment.