Updated RpcLiteralResponseMessageBinder to prevent infinite recursion
This commit is contained in:
parent
ade1584448
commit
4850f782d5
|
@ -65,6 +65,8 @@ class RpcLiteralResponseMessageBinder implements MessageBinderInterface
|
||||||
return $this->messageRefs[$hash];
|
return $this->messageRefs[$hash];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->messageRefs[$hash] = $message;
|
||||||
|
|
||||||
$class = $phpType;
|
$class = $phpType;
|
||||||
if ($class[0] == '\\') {
|
if ($class[0] == '\\') {
|
||||||
$class = substr($class, 1);
|
$class = substr($class, 1);
|
||||||
|
@ -93,6 +95,6 @@ class RpcLiteralResponseMessageBinder implements MessageBinderInterface
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->messageRefs[$hash] = $message;
|
return $message;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue