This repository was archived by the owner on Apr 29, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -400,8 +400,8 @@ class Quote extends AbstractExtensibleModel implements \Magento\Quote\Api\Data\C
400
400
* @param ShippingAssignmentFactory $shippingAssignmentFactory
401
401
* @param \Magento\Framework\Model\ResourceModel\AbstractResource|null $resource
402
402
* @param \Magento\Framework\Data\Collection\AbstractDb|null $resourceCollection
403
- * @param OrderIncrementIdChecker|null $orderIncrementIdChecker
404
403
* @param array $data
404
+ * @param OrderIncrementIdChecker|null $orderIncrementIdChecker
405
405
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
406
406
*/
407
407
public function __construct (
@@ -444,8 +444,8 @@ public function __construct(
444
444
\Magento \Quote \Model \ShippingAssignmentFactory $ shippingAssignmentFactory ,
445
445
\Magento \Framework \Model \ResourceModel \AbstractResource $ resource = null ,
446
446
\Magento \Framework \Data \Collection \AbstractDb $ resourceCollection = null ,
447
- OrderIncrementIdChecker $ orderIncrementIdChecker = null ,
448
- array $ data = []
447
+ array $ data = [] ,
448
+ OrderIncrementIdChecker $ orderIncrementIdChecker = null
449
449
) {
450
450
$ this ->quoteValidator = $ quoteValidator ;
451
451
$ this ->_catalogProduct = $ catalogProduct ;
Original file line number Diff line number Diff line change 7
7
namespace Magento \Sales \Model ;
8
8
9
9
/**
10
- * Class OrderIncrementIdChecker
11
- * Check if order increment ID is already used.
10
+ * This class uses for checking if reserved order id was already used for some order
12
11
*/
13
12
class OrderIncrementIdChecker
14
13
{
@@ -28,6 +27,7 @@ public function __construct(ResourceModel\Order $resourceModel)
28
27
29
28
/**
30
29
* Check if order increment ID is already used.
30
+ *
31
31
* Method can be used to avoid collisions of order IDs.
32
32
*
33
33
* @param int $orderIncrementId
You can’t perform that action at this time.
0 commit comments