@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | { |
| 16 | 16 | // If this notification is going to be queued, we do not check for rate limiting |
| 17 | 17 | // until the notification is actually picked up for sending in the queue via sendNow(). |
| 18 | - if ($notification instanceof ShouldRateLimit && ! $notification instanceof ShouldQueue) { |
|
| 18 | + if ($notification instanceof ShouldRateLimit && !$notification instanceof ShouldQueue) { |
|
| 19 | 19 | $this->sendWithRateLimitCheck('send', $notifiables, $notification); |
| 20 | 20 | } else { |
| 21 | 21 | parent::send($notifiables, $notification); |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | report($e); |
| 91 | 91 | } |
| 92 | 92 | |
| 93 | - if (! $sending_permitted) { |
|
| 93 | + if (!$sending_permitted) { |
|
| 94 | 94 | continue; |
| 95 | 95 | } |
| 96 | 96 | |
@@ -107,9 +107,9 @@ discard block |
||
| 107 | 107 | * |
| 108 | 108 | * @see \Illuminate\Notifications\NotificationSender::formatNotifiables |
| 109 | 109 | */ |
| 110 | - protected function formatNotifiables(mixed $notifiables): ModelCollection|Collection|array |
|
| 110 | + protected function formatNotifiables(mixed $notifiables): ModelCollection | Collection | array |
|
| 111 | 111 | { |
| 112 | - if (! $notifiables instanceof Collection && ! is_array($notifiables)) { |
|
| 112 | + if (!$notifiables instanceof Collection && !is_array($notifiables)) { |
|
| 113 | 113 | return $notifiables instanceof Model |
| 114 | 114 | ? new ModelCollection([$notifiables]) : [$notifiables]; |
| 115 | 115 | } |