@@ -25,32 +25,32 @@ class OperationRepository implements \Magento\AsynchronousOperations\Api\Operati
25
25
/**
26
26
* @var EntityManager
27
27
*/
28
- private $ entityManager ;
28
+ private EntityManager $ entityManager ;
29
29
30
30
/**
31
31
* @var CollectionFactory
32
32
*/
33
- private $ collectionFactory ;
33
+ private CollectionFactory $ collectionFactory ;
34
34
35
35
/**
36
36
* @var SearchResultFactory
37
37
*/
38
- private $ searchResultFactory ;
38
+ private SearchResultFactory $ searchResultFactory ;
39
39
40
40
/**
41
41
* @var JoinProcessorInterface
42
42
*/
43
- private $ joinProcessor ;
43
+ private JoinProcessorInterface $ joinProcessor ;
44
44
45
45
/**
46
46
* @var \Magento\AsynchronousOperations\Api\Data\OperationExtensionInterfaceFactory
47
47
*/
48
- private $ operationExtensionFactory ;
48
+ private OperationExtensionInterfaceFactory $ operationExtensionFactory ;
49
49
50
50
/**
51
51
* @var CollectionProcessorInterface
52
52
*/
53
- private $ collectionProcessor ;
53
+ private CollectionProcessorInterface $ collectionProcessor ;
54
54
55
55
/**
56
56
* @var \Psr\Log\LoggerInterface
@@ -99,7 +99,11 @@ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCr
99
99
$ collection = $ this ->collectionFactory ->create ();
100
100
$ collection ->addFieldToSelect ('id ' , 'operation_key ' );
101
101
$ collection ->addFieldToSelect ('operation_key ' , 'id ' );
102
- $ collection ->addFieldToSelect (['bulk_uuid ' , 'topic_name ' , 'serialized_data ' , 'result_serialized_data ' , 'status ' , 'error_code ' , 'result_message ' , 'started_at ' ]);
102
+ $ collection ->addFieldToSelect ([
103
+ 'bulk_uuid ' , 'topic_name ' , 'serialized_data ' ,
104
+ 'result_serialized_data ' , 'status ' , 'error_code ' ,
105
+ 'result_message ' , 'started_at '
106
+ ]);
103
107
$ this ->joinProcessor ->process ($ collection , \Magento \AsynchronousOperations \Api \Data \OperationInterface::class);
104
108
$ this ->collectionProcessor ->process ($ searchCriteria , $ collection );
105
109
$ searchResult ->setSearchCriteria ($ searchCriteria );
0 commit comments