From fca2421b737e224f46ae57098094bb99b2508974 Mon Sep 17 00:00:00 2001 From: Alex Gusev Date: Fri, 17 Jun 2016 17:27:03 +0300 Subject: [PATCH] QueryInterface & old $select - use interface instead of class itself; - leave deprecated $select property; --- .../Magento/Framework/Data/AbstractSearchResult.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/internal/Magento/Framework/Data/AbstractSearchResult.php b/lib/internal/Magento/Framework/Data/AbstractSearchResult.php index a7539d2c37cba..24f93a054957c 100644 --- a/lib/internal/Magento/Framework/Data/AbstractSearchResult.php +++ b/lib/internal/Magento/Framework/Data/AbstractSearchResult.php @@ -59,9 +59,15 @@ abstract class AbstractSearchResult extends AbstractDataObject implements Search protected $entityFactory; /** - * @var \Magento\Framework\DB\Query + * @var \Magento\Framework\DB\QueryInterface */ protected $query; + + /** + * @var \Magento\Framework\DB\Select + * @deprecated + */ + protected $select; /** * @var \Magento\Framework\Data\SearchResultIteratorFactory