Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dwightwatson committed Oct 15, 2023
1 parent 86eb51a commit 111f2c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ class AccountActivated extends Notification

public function toFcm($notifiable)
{
return new FcmMessage(notification: new FcmNotification(
return (new FcmMessage(notification: new FcmNotification(
title: 'Account Activated',
body: 'Your account has been activated.',
image: 'http://example.com/url-to-image-here.png'
))
)))
->data(['data1' => 'value', 'data2' => 'value2'])
->custom([
'android' => [
Expand Down

0 comments on commit 111f2c1

Please sign in to comment.