BF has connection on null

This commit is contained in:
a6a2f5842 2025-09-18 17:55:52 +02:00
parent f09143e1d1
commit 4155e05d76
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class Handler implements MessageComponentInterface
$channel = $this->handleChannelSubscriptions($message, $connection); $channel = $this->handleChannelSubscriptions($message, $connection);
if (! $channel->hasConnection($connection) && !( if (! optional($channel)->hasConnection($connection) && !(
$message['event'] !== 'pusher:unsubscribe' $message['event'] !== 'pusher:unsubscribe'
&& $message['event'] !== 'pusher.unsubscribe' && $message['event'] !== 'pusher.unsubscribe'
)) { )) {