Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update RuntimeException message when no data has been found #51133

Merged
merged 1 commit into from
Apr 19, 2024
Merged

Update RuntimeException message when no data has been found #51133

merged 1 commit into from
Apr 19, 2024

Conversation

mikemeijer
Copy link
Contributor

I discovered an inconsistency in the getData method of the Illuminate\Notifications\Channels\BroadcastChannel.
When both the toBroadcast and toArray doesn't exists it only shows the Notification is missing toArray method. while it shows Notification is missing toDatabase / toArray method. in the getData of the Illuminate\Notifications\Channels\DatabaseChannel.

I've update this line to be more consistent in the exception message of both classes.

@taylorotwell taylorotwell merged commit 5e209bc into laravel:11.x Apr 19, 2024
28 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants