Fix for archiving credit

This commit is contained in:
Hillel Coren 2016-07-19 20:13:07 +03:00
parent f42e8158c2
commit 41f5e4ed9a

View File

@ -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;
} }