update TransactionObject getPaymentReference return data type to allow null

This commit is contained in:
ahmedsophyudden
2021-11-08 10:20:58 +08:00
parent 39a8ac83b2
commit 9459c8fa3a
@@ -231,7 +231,10 @@ class TransactionObject implements DataTransferObject
}, $this->details);
}
public function getPaymentReference(): string
/**
* @return string|null
*/
public function getPaymentReference(): ?string
{
return $this->paymentReference;
}