mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Use imported stdClass instead of backslash-prefixed
This commit is contained in:
1 parent
c27fdffe1e
commit
a9bf07990d
1 file changed
+1
-1
+1
-1
@@ -1489,7 +1489,7 @@ class Client
|
||||
if (is_object($obj) || is_array($obj)) {
|
||||
$ret = (array)$obj;
|
||||
foreach ($ret as $key => $item) {
|
||||
if ($item instanceof \stdClass || is_array($item)) {
|
||||
if ($item instanceof stdClass || is_array($item)) {
|
||||
$ret[$key] = $this->toArray($item);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user