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.
1 parent f2a4838 commit bb20a96Copy full SHA for bb20a96
src/ClientAdapter.php
@@ -24,8 +24,8 @@ public function __construct(Client $client)
24
25
public function call($funcName, array $args = [])
26
{
27
- $result = $this->client->call($funcName, $args);
+ $data = $this->client->call($funcName, $args)->getData();
28
29
- return isset($result->getData()[0][0]) ? $result->getData() : [$result->getData()];
+ return isset($data[0][0]) ? $data : [$data];
30
}
31
0 commit comments