diff --git a/Helper/PaymentMethods.php b/Helper/PaymentMethods.php index 5a9d2c8da..0cb8cc049 100644 --- a/Helper/PaymentMethods.php +++ b/Helper/PaymentMethods.php @@ -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; } }