mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 21:52:35 +01:00
0fbda85a59
- Removed unused uses - Type hinting for method parameters - Removed commented code - Introduced comments for classes and methods - Short array syntax
31 lines
436 B
PHP
31 lines
436 B
PHP
<?php namespace App\Events;
|
|
|
|
|
|
use App\Models\Client;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
/**
|
|
* Class CreditWasArchived
|
|
*/
|
|
class CreditWasArchived extends Event
|
|
{
|
|
|
|
use SerializesModels;
|
|
|
|
/**
|
|
* @var Client
|
|
*/
|
|
public $credit;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @param Client $credit
|
|
*/
|
|
public function __construct(Client $credit)
|
|
{
|
|
$this->credit = $credit;
|
|
}
|
|
|
|
}
|