Skip to content

Commit

Permalink
[ECP-8888] Fix maintainability issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Can Demiralp committed Feb 20, 2025
1 parent 364d6e6 commit 01cb2a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Helper/PaymentMethods.php
Original file line number Diff line number Diff line change
Expand Up @@ -1094,6 +1094,6 @@ public function getRequiresLineItems(MethodInterface $paymentMethodInstance): bo
$isOpenInvoice = $this->isOpenInvoice($paymentMethodInstance);
$requiresLineItemsConfig = boolval($paymentMethodInstance->getConfigData(self::CONFIG_FIELD_REQUIRES_LINE_ITEMS));

return ($isOpenInvoice || $requiresLineItemsConfig);
return $isOpenInvoice || $requiresLineItemsConfig;
}
}

0 comments on commit 01cb2a1

Please sign in to comment.