rename method

This commit is contained in:
Taylor Otwell 2016-08-10 14:21:02 -05:00
parent 24d0102fcc
commit 7e41c61835
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ public function boot()
/*
* Authenticate the user's personal channel...
*/
Broadcast::auth('App.User.*', function ($user, $userId) {
Broadcast::channel('App.User.*', function ($user, $userId) {
return (int) $user->id === (int) $userId;
});
}