Refactor constructor

This commit is contained in:
David Bomba 2023-03-09 13:56:34 +11:00
parent ea475f8d56
commit 043cc121b2

View File

@ -24,11 +24,8 @@ class UpdateReminders implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
public Company $company;
public function __construct(Company $company)
public function __construct(public Company $company)
{
$this->company = $company;
}
/**