Fixes for payment hash types

This commit is contained in:
David Bomba 2021-11-04 20:52:03 +11:00
parent 5ad82c124d
commit dddab73b91
3 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ class PaymentFailedMailer implements ShouldQueue
{ {
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels, UserNotifies; use Dispatchable, InteractsWithQueue, Queueable, SerializesModels, UserNotifies;
public PaymentHash $payment_hash; public ?PaymentHash $payment_hash;
public string $error; public string $error;

View File

@ -33,7 +33,7 @@ class PaymentFailureObject
public $amount; public $amount;
public PaymentHash $payment_hash; public ?PaymentHash $payment_hash;
// private $invoices; // private $invoices;
/** /**

View File

@ -71,7 +71,7 @@ class BaseDriver extends AbstractPaymentDriver
public $payment_method; public $payment_method;
/* PaymentHash */ /* PaymentHash */
public PaymentHash $payment_hash; public ?PaymentHash $payment_hash;
/* Array of payment methods */ /* Array of payment methods */
public static $methods = []; public static $methods = [];