Skip to content

Commit

Permalink
make routeNotificationFor method accepts notification object (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedsayedabdelsalam authored May 11, 2020
1 parent ec070d4 commit deea690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FcmChannel.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class FcmChannel
*/
public function send($notifiable, Notification $notification)
{
$token = $notifiable->routeNotificationFor('fcm');
$token = $notifiable->routeNotificationFor('fcm', $notification);

if (empty($token)) {
return [];
Expand Down

0 comments on commit deea690

Please sign in to comment.