16
16
use Magento \Sales \Model \ResourceModel \Order \Address \Collection ;
17
17
use Magento \Sales \Model \ResourceModel \Order \Creditmemo \Collection as CreditmemoCollection ;
18
18
use Magento \Sales \Model \ResourceModel \Order \Invoice \Collection as InvoiceCollection ;
19
- use Magento \Sales \Model \ResourceModel \Order \Item \Collection as ImportCollection ;
19
+ use Magento \Sales \Model \ResourceModel \Order \Item \Collection as ItemCollection ;
20
20
use Magento \Sales \Model \ResourceModel \Order \Payment \Collection as PaymentCollection ;
21
21
use Magento \Sales \Model \ResourceModel \Order \Shipment \Collection as ShipmentCollection ;
22
22
use Magento \Sales \Model \ResourceModel \Order \Shipment \Track \Collection as TrackCollection ;
@@ -1277,7 +1277,7 @@ public function addAddress(\Magento\Sales\Model\Order\Address $address)
1277
1277
/**
1278
1278
* @param array $filterByTypes
1279
1279
* @param bool $nonChildrenOnly
1280
- * @return ImportCollection
1280
+ * @return ItemCollection
1281
1281
*/
1282
1282
public function getItemsCollection ($ filterByTypes = [], $ nonChildrenOnly = false )
1283
1283
{
@@ -1302,7 +1302,7 @@ public function getItemsCollection($filterByTypes = [], $nonChildrenOnly = false
1302
1302
* Get random items collection without related children
1303
1303
*
1304
1304
* @param int $limit
1305
- * @return ImportCollection
1305
+ * @return ItemCollection
1306
1306
*/
1307
1307
public function getParentItemsRandomCollection ($ limit = 1 )
1308
1308
{
@@ -1314,7 +1314,7 @@ public function getParentItemsRandomCollection($limit = 1)
1314
1314
*
1315
1315
* @param int $limit
1316
1316
* @param bool $nonChildrenOnly
1317
- * @return ImportCollection
1317
+ * @return ItemCollection
1318
1318
*/
1319
1319
protected function _getItemsRandomCollection ($ limit , $ nonChildrenOnly = false )
1320
1320
{
0 commit comments