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.
Rpc-Multiplex
1 parent a86f5f9 commit 6e649c9Copy full SHA for 6e649c9
src/DataFormatter.php
@@ -72,10 +72,10 @@ public function formatErrorResponse(ErrorResponse $response): array
72
73
public function fetch(array $data): mixed
74
{
75
- if (array_key_exists(Constant::DATA, $data)) {
+ if (array_key_exists(Constant::RESULT, $data)) {
76
$this->context->setData($data[Constant::CONTEXT] ?? []);
77
78
- return $data[Constant::DATA];
+ return $data[Constant::RESULT];
79
}
80
81
if (array_key_exists(Constant::ERROR, $data)) {
0 commit comments