You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reporting as a bug, as this appears to be a breaking change.
Steps To Reproduce:
// in a service provider$router->model('someModel', SomeModel::class);
// in routesBroadcast::channel('SomeModel.{someModel}', SomeModelPresenceChannel::class);
// in SomeModelPresenceChannelpublicfunctionjoin(User$user, SomeModel$someModel): array
{
return$user->broadcastProfile();
}
Results in this being thrown:
[9:06:08 AM] - 1ExhRwpqR3TUtF43AAAA could not be authenticated to presence-SomeModel.65
{
"message": "Too few arguments to function Illuminate\\Routing\\RouteBinding::Illuminate\\Routing\\{closure}(), 1 passed and exactly 3 expected",
"exception": "ArgumentCountError",
"file": "/path/to/vendor/laravel/framework/src/Illuminate/Routing/RouteBinding.php",
"line": 60,
…
}
The text was updated successfully, but these errors were encountered:
Description:
After upgrading to Laravel 8.30 this morning, explicit route model binding is not working in Broadcasting.
Likely related to: 8c5292e / #36375
Reporting as a bug, as this appears to be a breaking change.
Steps To Reproduce:
Results in this being thrown:
The text was updated successfully, but these errors were encountered: