|
@@ -86,7 +86,7 @@ discard block |
|
|
block discarded – undo |
|
86
|
86
|
} catch (\Exception $e) { |
|
87
|
87
|
$notification_type = get_class($notifiable); |
|
88
|
88
|
|
|
89
|
|
- logger()->warning('Notification rate limiter encountered an internal exception (notification type: ' . $notification_type . '); bypassing limiter. Error: ' . $e->getMessage()); |
|
|
89
|
+ logger()->warning('Notification rate limiter encountered an internal exception (notification type: '.$notification_type.'); bypassing limiter. Error: '.$e->getMessage()); |
|
90
|
90
|
report($e); |
|
91
|
91
|
} |
|
92
|
92
|
|
|
@@ -103,7 +103,7 @@ discard block |
|
|
block discarded – undo |
|
103
|
103
|
* |
|
104
|
104
|
* @see \Illuminate\Notifications\NotificationSender::formatNotifiables |
|
105
|
105
|
*/ |
|
106
|
|
- protected function formatNotifiables(mixed $notifiables): ModelCollection|Collection|array |
|
|
106
|
+ protected function formatNotifiables(mixed $notifiables): ModelCollection | Collection | array |
|
107
|
107
|
{ |
|
108
|
108
|
if (!$notifiables instanceof Collection && !is_array($notifiables)) { |
|
109
|
109
|
return $notifiables instanceof Model |
Please login to merge, or discard this patch.