We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c2b89b commit d2146f7Copy full SHA for d2146f7
src/WebSockets/Messages/PusherChannelProtocolMessage.php
@@ -31,7 +31,7 @@ public function respond()
31
{
32
$eventName = Str::camel(Str::after($this->payload->event, ':'));
33
34
- if (method_exists($this, $eventName)) {
+ if (method_exists($this, $eventName) && $eventName !== 'respond') {
35
call_user_func([$this, $eventName], $this->connection, $this->payload->data ?? new stdClass());
36
}
37
0 commit comments