Skip to content

Commit

Permalink
cast notifiable as string
Browse files Browse the repository at this point in the history
  • Loading branch information
themsaid committed Dec 6, 2018
1 parent 4820374 commit 0287613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Watchers/NotificationWatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ private function formatNotifiable($notifiable)
return 'Anonymous:'.implode(',', $notifiable->routes);
}

return $notifiable;
return get_class($notifiable);
}
}

0 comments on commit 0287613

Please sign in to comment.