From a7de9920221f2c8a51980ad689f028cd959c9d30 Mon Sep 17 00:00:00 2001 From: Andy Summers <andrew.summers@wisc.edu> Date: Tue, 15 Aug 2017 10:42:25 -0500 Subject: [PATCH] Allow Payment Notes to be null --- .../edu/wisc/services/cbs/order/payment/OrderPayment.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/edu/wisc/services/cbs/order/payment/OrderPayment.php b/src/main/edu/wisc/services/cbs/order/payment/OrderPayment.php index 6a345a8..1523b6a 100644 --- a/src/main/edu/wisc/services/cbs/order/payment/OrderPayment.php +++ b/src/main/edu/wisc/services/cbs/order/payment/OrderPayment.php @@ -213,7 +213,7 @@ class OrderPayment extends MagentoOrder } /** - * @return string + * @return string|null */ public function getPaymentNotes(): string { @@ -221,10 +221,10 @@ class OrderPayment extends MagentoOrder } /** - * @param string $paymentNotes + * @param string|null $paymentNotes * @return OrderPayment */ - public function setPaymentNotes(string $paymentNotes): OrderPayment + public function setPaymentNotes(string $paymentNotes = null): OrderPayment { $this->paymentNotes = $paymentNotes; return $this; -- GitLab