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