refactor: code style changes
Signed-off-by: miguel456 <me@nogueira.codes>
This commit is contained in:
@@ -5,7 +5,6 @@ namespace App\Notifications;
|
||||
use App\Application;
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Notifications\Messages\MailMessage;
|
||||
use Illuminate\Notifications\Notification;
|
||||
|
||||
@@ -14,7 +13,9 @@ class AppointmentCancelled extends Notification
|
||||
use Queueable;
|
||||
|
||||
private $application;
|
||||
|
||||
private $reason;
|
||||
|
||||
private $appointmentDate;
|
||||
|
||||
/**
|
||||
@@ -51,16 +52,16 @@ class AppointmentCancelled extends Notification
|
||||
// TODO: Switch to HTML & Blade.
|
||||
|
||||
return (new MailMessage)
|
||||
->greeting("Hi " . $notifiable->name . ",")
|
||||
->greeting('Hi '.$notifiable->name.',')
|
||||
->from(config('notification.sender.address'), config('notification.sender.name'))
|
||||
->subject(config('app.name').' - interview cancelled')
|
||||
->line('The interview that was previously scheduled with you has been cancelled.')
|
||||
->line('Date and time of the old appointment: '.$this->appointmentDate)
|
||||
->line('Your appointment was cancelled for the following reason: ' . $this->reason)
|
||||
->line('Your appointment was cancelled for the following reason: '.$this->reason)
|
||||
->line('A team member may contact you to reschedule within a new timeframe - you may also let us know of a date and time that suits you.')
|
||||
->line('Your application will likely be declined if you do not reschedule an interview.')
|
||||
->action('View active applications', url(route('showUserApps')))
|
||||
->salutation('The team at ' . config('app.name'));
|
||||
->salutation('The team at '.config('app.name'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user