refactor: code style changes
Signed-off-by: miguel456 <me@nogueira.codes>
This commit is contained in:
@@ -46,15 +46,16 @@ class ApplicationMoved extends Notification implements ShouldQueue
|
||||
public function channels()
|
||||
{
|
||||
Log::debug('Application moved notification: channels chosen', [
|
||||
'channels' => $this->chooseChannelsViaOptions()
|
||||
'channels' => $this->chooseChannelsViaOptions(),
|
||||
]);
|
||||
|
||||
return $this->chooseChannelsViaOptions();
|
||||
}
|
||||
|
||||
public function optOut($notifiable)
|
||||
{
|
||||
Log::debug('Application moved notification: opt out verified', [
|
||||
'opt-out' => Options::getOption('notify_application_status_change') != 1
|
||||
'opt-out' => Options::getOption('notify_application_status_change') != 1,
|
||||
]);
|
||||
|
||||
return Options::getOption('notify_application_status_change') != 1;
|
||||
@@ -69,13 +70,13 @@ class ApplicationMoved extends Notification implements ShouldQueue
|
||||
public function toMail($notifiable)
|
||||
{
|
||||
return (new MailMessage)
|
||||
->greeting('Hi ' . $notifiable->name . ',')
|
||||
->greeting('Hi '.$notifiable->name.',')
|
||||
->from(config('notification.sender.address'), config('notification.sender.name'))
|
||||
->subject(config('app.name').' - application updated')
|
||||
->line('Your application has been moved to the next step.')
|
||||
->line('This means our team has reviewed it and an interview will be scheduled soon.')
|
||||
->action('Sign in', url(route('login')))
|
||||
->salutation('The team at ' . config('app.name'));
|
||||
->salutation('The team at '.config('app.name'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user