Skip to content
Snippets Groups Projects
Commit a7de9920 authored by Andy Summers's avatar Andy Summers
Browse files

Allow Payment Notes to be null

parent b197e206
No related branches found
No related tags found
1 merge request!77Allow Payment Notes to be null
...@@ -213,7 +213,7 @@ class OrderPayment extends MagentoOrder ...@@ -213,7 +213,7 @@ class OrderPayment extends MagentoOrder
} }
/** /**
* @return string * @return string|null
*/ */
public function getPaymentNotes(): string public function getPaymentNotes(): string
{ {
...@@ -221,10 +221,10 @@ class OrderPayment extends MagentoOrder ...@@ -221,10 +221,10 @@ class OrderPayment extends MagentoOrder
} }
/** /**
* @param string $paymentNotes * @param string|null $paymentNotes
* @return OrderPayment * @return OrderPayment
*/ */
public function setPaymentNotes(string $paymentNotes): OrderPayment public function setPaymentNotes(string $paymentNotes = null): OrderPayment
{ {
$this->paymentNotes = $paymentNotes; $this->paymentNotes = $paymentNotes;
return $this; return $this;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment