Fix for archiving credits

This commit is contained in:
Hillel Coren 2016-07-19 20:12:45 +03:00
parent 9d4c6a12dd
commit 96b4b19509

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