Skip to content

Commit

Permalink
Update RuntimeException message when no data has been found (#51133)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemeijer authored Apr 19, 2024
1 parent a4bd642 commit 5e209bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Notifications/Channels/BroadcastChannel.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ protected function getData($notifiable, Notification $notification)
return $notification->toArray($notifiable);
}

throw new RuntimeException('Notification is missing toArray method.');
throw new RuntimeException('Notification is missing toBroadcast / toArray method.');
}
}

0 comments on commit 5e209bc

Please sign in to comment.