mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for payment hash types
This commit is contained in:
parent
5ad82c124d
commit
dddab73b91
@ -36,7 +36,7 @@ class PaymentFailedMailer implements ShouldQueue
|
||||
{
|
||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels, UserNotifies;
|
||||
|
||||
public PaymentHash $payment_hash;
|
||||
public ?PaymentHash $payment_hash;
|
||||
|
||||
public string $error;
|
||||
|
||||
|
@ -33,7 +33,7 @@ class PaymentFailureObject
|
||||
|
||||
public $amount;
|
||||
|
||||
public PaymentHash $payment_hash;
|
||||
public ?PaymentHash $payment_hash;
|
||||
// private $invoices;
|
||||
|
||||
/**
|
||||
|
@ -71,7 +71,7 @@ class BaseDriver extends AbstractPaymentDriver
|
||||
public $payment_method;
|
||||
|
||||
/* PaymentHash */
|
||||
public PaymentHash $payment_hash;
|
||||
public ?PaymentHash $payment_hash;
|
||||
|
||||
/* Array of payment methods */
|
||||
public static $methods = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user