@@ -25,11 +25,11 @@ discard block |
||
25 | 25 | */ |
26 | 26 | public function send($notifiable, Notification $notification) |
27 | 27 | { |
28 | - if (! $this->shouldSendMessage($notifiable, $notification)) { |
|
28 | + if (!$this->shouldSendMessage($notifiable, $notification)) { |
|
29 | 29 | return; |
30 | 30 | } |
31 | 31 | |
32 | - if (! $to = $notifiable->routeNotificationFor('raygansms')) { |
|
32 | + if (!$to = $notifiable->routeNotificationFor('raygansms')) { |
|
33 | 33 | return; |
34 | 34 | } |
35 | 35 | |
@@ -58,6 +58,6 @@ discard block |
||
58 | 58 | */ |
59 | 59 | protected function shouldSendMessage($notifiable, Notification $notification) |
60 | 60 | { |
61 | - return event(new SendingMessage($notifiable, $notification), [], true) !== false; |
|
61 | + return event(new SendingMessage($notifiable, $notification), [ ], true) !== false; |
|
62 | 62 | } |
63 | 63 | } |