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 f442c69 commit 090f87bCopy full SHA for 090f87b
src/DatingVIP/API/Response.php
@@ -107,7 +107,7 @@ public function set($data)
107
108
case 'json':
109
default:
110
- $this->data = empty($data) ? [] : (json_decode($data, true) ?: []);
+ $this->data = empty($data) ? [] : (json_decode((string) $data, true) ?: []);
111
$result = json_last_error() == JSON_ERROR_NONE;
112
if (empty ($result)) {
113
$this->error = [
0 commit comments