From e912d3aa2ad4352e48124dd0ce91281b61ad4468 Mon Sep 17 00:00:00 2001 From: Can Demiralp Date: Tue, 18 Feb 2025 15:48:15 +0100 Subject: [PATCH] [ECP-8888] Update PHPDocs --- Gateway/Request/LineItemsDataBuilder.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Gateway/Request/LineItemsDataBuilder.php b/Gateway/Request/LineItemsDataBuilder.php index 979e5738a..c33a8f08d 100644 --- a/Gateway/Request/LineItemsDataBuilder.php +++ b/Gateway/Request/LineItemsDataBuilder.php @@ -21,13 +21,17 @@ class LineItemsDataBuilder implements BuilderInterface { + /** + * @param PaymentMethods $paymentMethodsHelper + * @param OpenInvoice $openInvoiceHelper + */ public function __construct( private readonly PaymentMethods $paymentMethodsHelper, private readonly OpenInvoice $openInvoiceHelper ) { } /** - * Add delivery\billing details into request + * Add `lineItems` to the request if the payment method requires this field * * @param array $buildSubject * @return array