fix: service status changed event

This commit is contained in:
Andras Bacsai 2024-07-12 11:27:08 +02:00
parent aaee887d3e
commit 21825876fb

View File

@ -27,7 +27,7 @@ public function __construct($userId = null)
public function broadcastOn(): ?array
{
if ($this->userId) {
if (! is_null($this->userId)) {
return [
new PrivateChannel("user.{$this->userId}"),
];