mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for archiving credit
This commit is contained in:
parent
f42e8158c2
commit
41f5e4ed9a
@ -1,7 +1,7 @@
|
|||||||
<?php namespace App\Events;
|
<?php namespace App\Events;
|
||||||
|
|
||||||
|
|
||||||
use App\Models\Client;
|
use App\Models\Credit;
|
||||||
use Illuminate\Queue\SerializesModels;
|
use Illuminate\Queue\SerializesModels;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -22,7 +22,7 @@ class CreditWasArchived extends Event
|
|||||||
*
|
*
|
||||||
* @param Client $credit
|
* @param Client $credit
|
||||||
*/
|
*/
|
||||||
public function __construct(Client $credit)
|
public function __construct(Credit $credit)
|
||||||
{
|
{
|
||||||
$this->credit = $credit;
|
$this->credit = $credit;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user