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

Merge branch 'allow-some-nulls' into 'master'

Allow Payment Notes to be null

See merge request !77
parents b197e206 a7de9920
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