@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | public function send($notifiable, Notification $notification): void |
50 | 50 | { |
51 | 51 | try { |
52 | - if (! $notification instanceof IntercomNotification) { |
|
52 | + if (!$notification instanceof IntercomNotification) { |
|
53 | 53 | throw new InvalidArgumentException( |
54 | 54 | sprintf('The notification must implement %s interface', IntercomNotification::class) |
55 | 55 | ); |
@@ -57,15 +57,15 @@ discard block |
||
57 | 57 | |
58 | 58 | $message = $notification->toIntercom($notifiable); |
59 | 59 | |
60 | - if (! $message->toIsGiven()) { |
|
61 | - if (! $to = $notifiable->routeNotificationFor('intercom')) { |
|
60 | + if (!$message->toIsGiven()) { |
|
61 | + if (!$to = $notifiable->routeNotificationFor('intercom')) { |
|
62 | 62 | throw new MessageIsNotCompleteException($message, 'Recipient is not provided'); |
63 | 63 | } |
64 | 64 | |
65 | 65 | $message->to($to); |
66 | 66 | } |
67 | 67 | |
68 | - if (! $message->isValid()) { |
|
68 | + if (!$message->isValid()) { |
|
69 | 69 | throw new MessageIsNotCompleteException( |
70 | 70 | $message, |
71 | 71 | 'The message is not valid. Please check that you have filled required params' |