File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
app/code/Magento/Tax/Model/Sales/Total/Quote
dev/tests/integration/testsuite/Magento/Tax/_files Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -348,7 +348,7 @@ public function mapItems(
348
348
$ useBaseCurrency
349
349
) {
350
350
$ items = $ shippingAssignment ->getItems ();
351
- if (! count ($ items )) {
351
+ if (empty ($ items )) {
352
352
return [];
353
353
}
354
354
@@ -478,7 +478,7 @@ protected function prepareQuoteDetails(ShippingAssignmentInterface $shippingAssi
478
478
{
479
479
$ items = $ shippingAssignment ->getItems ();
480
480
$ address = $ shippingAssignment ->getShipping ()->getAddress ();
481
- if (! count ($ items )) {
481
+ if (empty ($ items )) {
482
482
return $ this ->quoteDetailsDataObjectFactory ->create ();
483
483
}
484
484
Original file line number Diff line number Diff line change 6
6
declare (strict_types=1 );
7
7
8
8
/**
9
- * Global array that holds test scenarios data
9
+ * Global array that holds test scenarios data.
10
10
*
11
11
* @var array
12
12
*/
13
13
$ taxCalculationData = [];
14
-
14
+ //phpcs:disable Magento2.Security.IncludeFile
15
15
require_once __DIR__ . '/scenarios/excluding_tax_apply_tax_after_discount.php ' ;
16
16
require_once __DIR__ . '/scenarios/excluding_tax_apply_tax_after_discount_discount_tax.php ' ;
17
17
require_once __DIR__ . '/scenarios/excluding_tax_apply_tax_before_discount.php ' ;
You can’t perform that action at this time.
0 commit comments