Fix for archiving credits
This commit is contained in:
parent
9d4c6a12dd
commit
96b4b19509
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue