mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 05:01:06 +03:30
feat: install phpstan and resolving reported errors in PHPStan
This commit is contained in:
@@ -11,6 +11,8 @@
|
||||
|
|
||||
*/
|
||||
|
||||
use Illuminate\Support\Facades\Broadcast;
|
||||
|
||||
Broadcast::channel('App.User.{id}', function ($user, $id) {
|
||||
return (int) $user->id === (int) $id;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user