Skip to content

Commit cb43ebd

Browse files
updated php doc string
1 parent f5dd22d commit cb43ebd

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Database/Validator/PartialStructure.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ public function isValid($document): bool
3636
$name = $attribute['$id'] ?? '';
3737
$keys[$name] = $attribute;
3838
}
39+
/**
40+
* @var array<string, mixed> $requiredAttributes
41+
*/
3942
$requiredAttributes = [];
4043
foreach ($this->attributes as $attribute) {
4144
if ($attribute['required'] === true && $document->offsetExists($attribute['$id'])) {

0 commit comments

Comments
 (0)