chore: code refactor via rector
This commit is contained in:
@@ -15,17 +15,11 @@ class TicketResponseNotification extends Mailable
|
||||
{
|
||||
use Queueable, SerializesModels;
|
||||
|
||||
public Ticket $ticket;
|
||||
|
||||
public Collection $responses;
|
||||
|
||||
/**
|
||||
* Create a new message instance.
|
||||
*/
|
||||
public function __construct(Ticket $ticket, Collection $responses)
|
||||
public function __construct(public Ticket $ticket, public Collection $responses)
|
||||
{
|
||||
$this->ticket = $ticket;
|
||||
$this->responses = $responses;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user