8
8
use Magento \Framework \Data \Collection \Db \FetchStrategyInterface as FetchStrategy ;
9
9
use Magento \Framework \Data \Collection \EntityFactoryInterface as EntityFactory ;
10
10
use Magento \Framework \Event \ManagerInterface as EventManager ;
11
+ use Magento \Framework \Model \ResourceModel \AbstractResource ;
11
12
use Psr \Log \LoggerInterface as Logger ;
12
13
use Magento \Authorization \Model \UserContextInterface ;
13
14
use Magento \Framework \Bulk \BulkSummaryInterface ;
14
15
use Magento \AsynchronousOperations \Model \StatusMapper ;
15
16
use Magento \AsynchronousOperations \Model \BulkStatus \CalculatedStatusSql ;
16
17
17
- /**
18
- * Class SearchResult
19
- */
20
18
class SearchResult extends \Magento \Framework \View \Element \UiComponent \DataProvider \SearchResult
21
19
{
22
20
/**
@@ -40,7 +38,6 @@ class SearchResult extends \Magento\Framework\View\Element\UiComponent\DataProvi
40
38
private $ calculatedStatusSql ;
41
39
42
40
/**
43
- * SearchResult constructor.
44
41
* @param EntityFactory $entityFactory
45
42
* @param Logger $logger
46
43
* @param FetchStrategy $fetchStrategy
@@ -49,7 +46,7 @@ class SearchResult extends \Magento\Framework\View\Element\UiComponent\DataProvi
49
46
* @param StatusMapper $statusMapper
50
47
* @param CalculatedStatusSql $calculatedStatusSql
51
48
* @param string $mainTable
52
- * @param null $resourceModel
49
+ * @param AbstractResource $resourceModel
53
50
* @param string $identifierName
54
51
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
55
52
*/
@@ -80,7 +77,7 @@ public function __construct(
80
77
}
81
78
82
79
/**
83
- * { @inheritdoc}
80
+ * @inheritdoc
84
81
*/
85
82
protected function _initSelect ()
86
83
{
@@ -104,7 +101,7 @@ protected function _initSelect()
104
101
}
105
102
106
103
/**
107
- * { @inheritdoc}
104
+ * @inheritdoc
108
105
*/
109
106
protected function _afterLoad ()
110
107
{
@@ -116,7 +113,7 @@ protected function _afterLoad()
116
113
}
117
114
118
115
/**
119
- * { @inheritdoc}
116
+ * @inheritdoc
120
117
*/
121
118
public function addFieldToFilter ($ field , $ condition = null )
122
119
{
@@ -139,7 +136,7 @@ public function addFieldToFilter($field, $condition = null)
139
136
}
140
137
141
138
/**
142
- * { @inheritdoc}
139
+ * @inheritdoc
143
140
*/
144
141
public function getSelectCountSql ()
145
142
{
0 commit comments