Refactor constructor
This commit is contained in:
parent
ea475f8d56
commit
043cc121b2
1 changed files with 1 additions and 4 deletions
|
|
@ -24,11 +24,8 @@ class UpdateReminders implements ShouldQueue
|
||||||
{
|
{
|
||||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||||
|
|
||||||
public Company $company;
|
public function __construct(public Company $company)
|
||||||
|
|
||||||
public function __construct(Company $company)
|
|
||||||
{
|
{
|
||||||
$this->company = $company;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue