Skip to content

Commit a9bf079

Browse files
committed
Use imported stdClass instead of backslash-prefixed
1 parent c27fdff commit a9bf079

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1489,7 +1489,7 @@ public function toArray(mixed $obj): ?array
14891489
if (is_object($obj) || is_array($obj)) {
14901490
$ret = (array)$obj;
14911491
foreach ($ret as $key => $item) {
1492-
if ($item instanceof \stdClass || is_array($item)) {
1492+
if ($item instanceof stdClass || is_array($item)) {
14931493
$ret[$key] = $this->toArray($item);
14941494
}
14951495
}

0 commit comments

Comments
 (0)