Skip to content

Commit

Permalink
QueryInterface & old $select
Browse files Browse the repository at this point in the history
- use interface instead of class itself;
- leave deprecated $select property;
  • Loading branch information
flancer64 authored Jun 17, 2016
1 parent a4d6994 commit fca2421
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/internal/Magento/Framework/Data/AbstractSearchResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fca2421

Please sign in to comment.