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 10a00ec commit 328573fCopy full SHA for 328573f
lib/Result/Result.php
@@ -81,7 +81,7 @@ private function formatResult($result)
81
$result = ResponseHelper::jsonToArray($result);
82
break;
83
}
84
- } else if ($this->apiVersion === '2.0') {
+ } else if ($this->apiVersion === '2.0' and is_string($result)) {
85
86
87
return $result;
0 commit comments