Skip to content

Commit b9ee1a7

Browse files
committed
Lines
1 parent 85c11ae commit b9ee1a7

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/Database/Document.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,10 @@ public function __construct(array $input = [])
3939
if (!\is_array($value)) {
4040
continue;
4141
}
42-
4342
if (isset($value['$id']) || isset($value['$collection'])) {
4443
$input[$key] = new self($value);
4544
continue;
4645
}
47-
4846
foreach ($value as $childKey => $child) {
4947
if ((isset($child['$id']) || isset($child['$collection'])) && (!$child instanceof self)) {
5048
$value[$childKey] = new self($child);

0 commit comments

Comments
 (0)