From 923a159469500366c416d4640d2034253e0701c7 Mon Sep 17 00:00:00 2001 From: Alex Kratky Date: Tue, 19 Dec 2023 14:26:02 +0100 Subject: [PATCH 1/2] nullable pay and state url --- src/Model/SimplePayment.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Model/SimplePayment.php b/src/Model/SimplePayment.php index 35c6611..0324a7b 100644 --- a/src/Model/SimplePayment.php +++ b/src/Model/SimplePayment.php @@ -83,12 +83,12 @@ class SimplePayment private $description_for_merchant; /** - * @var string + * @var string|null null if subscription payment */ private $payUrl; /** - * @var string + * @var string|null null if subscription payment */ private $detailUrl; @@ -266,7 +266,7 @@ public function getOffsetAccount() } /** - * @return string + * @return string|null */ public function getPayUrl() { @@ -274,7 +274,7 @@ public function getPayUrl() } /** - * @return string + * @return string|null */ public function getDetailUrl() { From 60649f4c340db861938c843622dea38e08c92a82 Mon Sep 17 00:00:00 2001 From: Alex Kratky Date: Wed, 3 Jan 2024 19:08:51 +0100 Subject: [PATCH 2/2] empty if subscription payment --- src/Model/SimplePayment.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Model/SimplePayment.php b/src/Model/SimplePayment.php index ea645f3..15e7d65 100644 --- a/src/Model/SimplePayment.php +++ b/src/Model/SimplePayment.php @@ -83,12 +83,12 @@ class SimplePayment private $description_for_merchant; /** - * @var string|null null if subscription payment + * @var string empty if subscription payment */ private $payUrl; /** - * @var string|null null if subscription payment + * @var string empty if subscription payment */ private $detailUrl; @@ -272,7 +272,7 @@ public function getOffsetAccount() } /** - * @return string|null + * @return string empty if subscription payment */ public function getPayUrl() { @@ -280,7 +280,7 @@ public function getPayUrl() } /** - * @return string|null + * @return string empty if subscription payment */ public function getDetailUrl() {