updated the comments

This commit is contained in:
ArnabChatterjee20k
2026-02-09 13:08:02 +05:30
parent 4b3c4323ee
commit 6afb5ccf10
+3 -3
View File
@@ -358,14 +358,14 @@ class Realtime extends MessagingAdapter
if (\array_key_exists($paramKey, $reservedParamExpectedTypes) && $params !== null) {
$expectedType = $reservedParamExpectedTypes[$paramKey];
$isRoutingType = match ($expectedType) {
$isExpectedType = match ($expectedType) {
'array' => \is_array($params),
'string' => \is_string($params),
default => false,
};
// If the value matches the expected routing type, do NOT use it as queries
if ($isRoutingType) {
// If the value matches the expected type dont use it the queries
if ($isExpectedType) {
$params = null;
}
}