You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Guard class, line #324, it seems that you forgot to declare the property of messageFilter, which caused the dysfunction of received message type-filtering.
protected function handleMessage($message)
{
$handler = $this->messageHandler;
if (!is_callable($handler)) {
Log::debug('No handler enabled.');
return;
}
Log::debug('Message detail:', $message);
$message = new Collection($message);
$type = $this->messageTypeMapping[$message->get('MsgType')];
$response = null;
// forgot to declare the property of messageFilter?
if ($this->messageFilter & $type) {
$response = call_user_func_array($handler, [$message]);
}
return $response;
}
The text was updated successfully, but these errors were encountered:
In the Guard class, line #324, it seems that you forgot to declare the property of messageFilter, which caused the dysfunction of received message type-filtering.
protected function handleMessage($message)
{
$handler = $this->messageHandler;
The text was updated successfully, but these errors were encountered: