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
$this->logger?->warning('Unable to decode a message from {clientId} client.', ['clientId' => $clientId]);
66
-
67
-
continue;
68
-
}
69
-
70
-
if (!\is_array($payload) || \count($payload) < 2 || !$payload[0] instanceof Data || !\is_array($payload[1])) {
71
-
$this->logger?->warning('Invalid payload from {clientId} client. Expected an array of two elements (Data $data, array $context)', ['clientId' => $clientId]);
72
-
73
-
continue;
74
-
}
75
-
76
-
[$data, $context] = $payload;
77
-
78
-
$callback($data, $context, $clientId);
69
+
$callback($clientId, $message);
79
70
}
80
71
}
81
72
@@ -86,22 +77,29 @@ public function getHost(): string
0 commit comments