mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 23:44:35 -04:00
Company Ledger updates
This commit is contained in:
parent
a57de08178
commit
833f986b43
@ -11,6 +11,7 @@
|
||||
|
||||
namespace App\Listeners\Invoice;
|
||||
|
||||
use App\Models\Invoice;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
|
||||
|
@ -146,7 +146,7 @@ class PayPalExpressPaymentDriver extends BasePaymentDriver
|
||||
|
||||
}
|
||||
|
||||
protected function paymentDetails($input)
|
||||
protected function paymentDetails($input) :array
|
||||
{
|
||||
$data = parent::paymentDetails($input);
|
||||
|
||||
|
@ -362,7 +362,6 @@ class StripePaymentDriver extends BasePaymentDriver
|
||||
|
||||
event(new PaymentWasCreated($payment));
|
||||
|
||||
|
||||
return redirect()->route('client.payments.show', ['payment' => $this->encodePrimaryKey($payment->id)]);
|
||||
|
||||
}
|
||||
@ -383,7 +382,7 @@ class StripePaymentDriver extends BasePaymentDriver
|
||||
|
||||
}
|
||||
|
||||
public function createPayment($data)
|
||||
public function createPayment($data) :Payment
|
||||
{
|
||||
|
||||
$payment = parent::createPayment($data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user