Skip to content

Commit 35b968e

Browse files
authored
The optional parameter passed last in the params list
1 parent 49926d7 commit 35b968e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/Quote/Model/ResourceModel/Quote/Item/Collection.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\VersionContro
5959
* @param Option\CollectionFactory $itemOptionCollectionFactory
6060
* @param \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $productCollectionFactory
6161
* @param \Magento\Quote\Model\Quote\Config $quoteConfig
62-
* @param \Magento\Store\Model\StoreManagerInterface|null $storeManager
6362
* @param \Magento\Framework\DB\Adapter\AdapterInterface $connection
6463
* @param \Magento\Framework\Model\ResourceModel\Db\AbstractDb $resource
64+
* @param \Magento\Store\Model\StoreManagerInterface|null $storeManager
6565
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
6666
*/
6767
public function __construct(
@@ -73,9 +73,9 @@ public function __construct(
7373
\Magento\Quote\Model\ResourceModel\Quote\Item\Option\CollectionFactory $itemOptionCollectionFactory,
7474
\Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $productCollectionFactory,
7575
\Magento\Quote\Model\Quote\Config $quoteConfig,
76-
\Magento\Store\Model\StoreManagerInterface $storeManager = null,
7776
\Magento\Framework\DB\Adapter\AdapterInterface $connection = null,
78-
\Magento\Framework\Model\ResourceModel\Db\AbstractDb $resource = null
77+
\Magento\Framework\Model\ResourceModel\Db\AbstractDb $resource = null,
78+
\Magento\Store\Model\StoreManagerInterface $storeManager = null
7979
) {
8080
parent::__construct(
8181
$entityFactory,

0 commit comments

Comments
 (0)