We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b9fb29 commit 15e985bCopy full SHA for 15e985b
src/Database/Document.php
@@ -35,14 +35,6 @@ public function __construct(array $input = [])
35
throw new StructureException('$permissions must be of type array');
36
}
37
38
-// if (isset($input['$id']) && !\is_string($input['$id'])) {
39
-// throw new StructureException('$id must be of type string');
40
-// }
41
-//
42
-// if (isset($input['$permissions']) && !is_array($input['$permissions'])) {
43
-// throw new StructureException('$permissions must be of type array');
44
45
46
foreach ($input as $key => $value) {
47
if (!\is_array($value)) {
48
continue;
0 commit comments