Skip to content

Commit 3a2018c

Browse files
committed
ACP2E-1200: static analysis fixes
1 parent d97826d commit 3a2018c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/code/Magento/Quote/Model/QuoteManagement.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,8 @@ protected function resolveItems(QuoteEntity $quote)
525525
* @throws ValidatorException
526526
* @throws LocalizedException
527527
* @throws \Exception
528+
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
529+
* @SuppressWarnings(PHPMD.NPathComplexity)
528530
*/
529531
protected function submitQuote(QuoteEntity $quote, $orderData = [])
530532
{

dev/tests/integration/testsuite/Magento/Sales/Model/AdminOrder/CreateTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ public function testCreateOrderNewCustomerDifferentAddresses()
400400
),
401401
'shipping_method' => $shippingMethod,
402402
'comment' => ['customer_note' => ''],
403-
'send_confirmation' => true,
403+
'send_confirmation' => true
404404
];
405405
$paymentData = ['method' => $paymentMethod];
406406

0 commit comments

Comments
 (0)