Clean up config.

This commit is contained in:
James Cole
2020-03-20 17:31:54 +01:00
parent 7b216543fa
commit 5a7152ceec
11 changed files with 327 additions and 209 deletions

View File

@@ -34,7 +34,8 @@ declare(strict_types=1);
*/
Broadcast::channel(
'App.User.{id}', static function ($user, $id) {
'App.User.{id}',
static function ($user, $id) {
return (int) $user->id === (int) $id;
}
);