Skip to content

Commit

Permalink
change method name
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Oct 22, 2016
1 parent f13991c commit 4e30db5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ public function broadcastWith()
*/
protected function channelName()
{
if (method_exists($this->notifiable, 'broadcastNotificationChannelName')) {
return $this->notifiable->broadcastNotificationChannelName($this->notification);
if (method_exists($this->notifiable, 'receivesBroadcastNotificationsOn')) {
return $this->notifiable->receivesBroadcastNotificationsOn($this->notification);
}

$class = str_replace('\\', '.', get_class($this->notifiable));
Expand Down

0 comments on commit 4e30db5

Please sign in to comment.