Skip to content

Commit bbd7b88

Browse files
committed
Solve issue where the auto-generated repository implementations use SearchCriteria instead of SearchCriteriaInterface
1 parent 1329d66 commit bbd7b88

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/ObjectManager/Code/Generator

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/ObjectManager/Code/Generator/Repository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Repository extends \Magento\Framework\Code\Generator\EntityAbstract
2626
*/
2727
const NO_SUCH_ENTITY_EXCEPTION = '\\Magento\Framework\Exception\NoSuchEntityException';
2828
const INPUT_EXCEPTION = '\\Magento\Framework\Exception\InputException';
29-
const SEARCH_CRITERIA = '\\Magento\Framework\Api\SearchCriteria';
29+
const SEARCH_CRITERIA = '\\Magento\Framework\Api\SearchCriteriaInterface';
3030

3131
/**
3232
* Retrieve class properties

0 commit comments

Comments
 (0)