File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Sales/Model/ResourceModel/Grid Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 66namespace Magento \Cms \Model \ResourceModel \Block \Grid ;
77
88use Magento \Framework \Api \Search \SearchResultInterface ;
9- use Magento \Framework \Search \AggregationInterface ;
9+ use Magento \Framework \Api \ Search \AggregationInterface ;
1010use Magento \Cms \Model \ResourceModel \Block \Collection as BlockCollection ;
1111
1212/**
@@ -82,6 +82,7 @@ public function getAggregations()
8282 public function setAggregations ($ aggregations )
8383 {
8484 $ this ->aggregations = $ aggregations ;
85+ return $ this ;
8586 }
8687
8788 /**
Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ public function getAggregations()
8383 public function setAggregations ($ aggregations )
8484 {
8585 $ this ->aggregations = $ aggregations ;
86+ return $ this ;
8687 }
8788
8889 /**
Original file line number Diff line number Diff line change 66namespace Magento \Sales \Model \ResourceModel \Grid ;
77
88use Magento \Framework \Api \Search \SearchResultInterface ;
9- use Magento \Framework \Search \AggregationInterface ;
9+ use Magento \Framework \Api \ Search \AggregationInterface ;
1010use Magento \Framework \Model \ResourceModel \Db \Collection \AbstractCollection ;
1111
1212/**
1515 */
1616class Collection extends AbstractCollection implements SearchResultInterface
1717{
18-
1918 /**
2019 * @var AggregationInterface
2120 */
@@ -78,9 +77,9 @@ public function getAggregations()
7877 public function setAggregations ($ aggregations )
7978 {
8079 $ this ->aggregations = $ aggregations ;
80+ return $ this ;
8181 }
8282
83-
8483 /**
8584 * Retrieve all ids for collection
8685 * Backward compatibility with EAV collection
You can’t perform that action at this time.
0 commit comments