Apply fixes from StyleCI
This commit is contained in:
committed by
StyleCI Bot
parent
616c7afc91
commit
c5c2355d8a
@@ -127,7 +127,7 @@ class NewIncidentNotification extends Notification
|
||||
return (new SlackMessage())
|
||||
->$status()
|
||||
->content($content)
|
||||
->attachment(function ($attachment) use ($notifiable) {
|
||||
->attachment(function ($attachment) {
|
||||
$attachment->title(trans('notifications.incident.new.slack.title', ['name' => $this->incident->name]))
|
||||
->timestamp($this->incident->getWrappedObject()->occurred_at)
|
||||
->fields(array_filter([
|
||||
|
||||
@@ -134,7 +134,7 @@ class IncidentUpdatedNotification extends Notification
|
||||
return (new SlackMessage())
|
||||
->$status()
|
||||
->content($content)
|
||||
->attachment(function ($attachment) use ($content, $notifiable) {
|
||||
->attachment(function ($attachment) use ($notifiable) {
|
||||
$attachment->title(trans('notifications.incident.update.slack.title', [
|
||||
'name' => $this->update->incident->name,
|
||||
'new_status' => $this->update->human_status,
|
||||
|
||||
Reference in New Issue
Block a user