From 0e2ba59a1878147d8c566510b0a7eb261b6de930 Mon Sep 17 00:00:00 2001 From: Jakub Piasecki Date: Wed, 31 Jul 2024 12:12:29 +0200 Subject: [PATCH] Add support for nullability --- src/Model/RecurringPayment/v3/Agreement.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Model/RecurringPayment/v3/Agreement.php b/src/Model/RecurringPayment/v3/Agreement.php index c82b9f5..74a4969 100644 --- a/src/Model/RecurringPayment/v3/Agreement.php +++ b/src/Model/RecurringPayment/v3/Agreement.php @@ -43,7 +43,7 @@ class Agreement protected $productName; /** - * @var string + * @var string|null * @Serializer\Type("string") */ protected $productDescription; @@ -163,9 +163,9 @@ public function getPricing(): Pricing /** * Gets productDescription value. * - * @return string + * @return string|null */ - public function getProductDescription(): string + public function getProductDescription(): ?string { return $this->productDescription; }