Skip to content

Commit f681ebe

Browse files
ENGCOM-2969: typofix: ImportCollection -> ItemCollection #18043
- Merge Pull Request #18043 from yaroslav-zenin/magento2:2.3-develop - Merged commits: 1. 608d825 2. 2051521
2 parents ca42048 + 2051521 commit f681ebe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/code/Magento/Sales/Model/Order.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use Magento\Sales\Model\ResourceModel\Order\Address\Collection;
1717
use Magento\Sales\Model\ResourceModel\Order\Creditmemo\Collection as CreditmemoCollection;
1818
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;
2020
use Magento\Sales\Model\ResourceModel\Order\Payment\Collection as PaymentCollection;
2121
use Magento\Sales\Model\ResourceModel\Order\Shipment\Collection as ShipmentCollection;
2222
use Magento\Sales\Model\ResourceModel\Order\Shipment\Track\Collection as TrackCollection;
@@ -1277,7 +1277,7 @@ public function addAddress(\Magento\Sales\Model\Order\Address $address)
12771277
/**
12781278
* @param array $filterByTypes
12791279
* @param bool $nonChildrenOnly
1280-
* @return ImportCollection
1280+
* @return ItemCollection
12811281
*/
12821282
public function getItemsCollection($filterByTypes = [], $nonChildrenOnly = false)
12831283
{
@@ -1302,7 +1302,7 @@ public function getItemsCollection($filterByTypes = [], $nonChildrenOnly = false
13021302
* Get random items collection without related children
13031303
*
13041304
* @param int $limit
1305-
* @return ImportCollection
1305+
* @return ItemCollection
13061306
*/
13071307
public function getParentItemsRandomCollection($limit = 1)
13081308
{
@@ -1314,7 +1314,7 @@ public function getParentItemsRandomCollection($limit = 1)
13141314
*
13151315
* @param int $limit
13161316
* @param bool $nonChildrenOnly
1317-
* @return ImportCollection
1317+
* @return ItemCollection
13181318
*/
13191319
protected function _getItemsRandomCollection($limit, $nonChildrenOnly = false)
13201320
{

0 commit comments

Comments
 (0)