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 809c0a9 commit 0f864a8Copy full SHA for 0f864a8
src/Subreg/Client.php
@@ -94,7 +94,7 @@ public function call($command, $params = [])
94
$this->lastStatus = $responseRaw['status'];
95
}
96
97
- $this->lastResult = array_key_exists('data', $responseRaw) ? $responseRaw['data'] : null ;
+ $this->lastResult = array_key_exists('data', $responseRaw) ? $responseRaw['data'] : array_key_exists('status', $responseRaw) ? $responseRaw['status'] : null ;
98
99
return $this->lastResult;
100
0 commit comments