Skip to content

Commit 393c3a7

Browse files
committed
Fixed typo
1 parent fcfdb46 commit 393c3a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Draft/Draft202012.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function __construct(
9393

9494
if ($assertFormat) {
9595
/** @noinspection PhpUnhandledExceptionInspection */
96-
$this->enableVocabulary('https://json-schema.org/draft/2020-12/vocab/format-annotation');
96+
$this->enableVocabulary('https://json-schema.org/draft/2020-12/vocab/format-assertion');
9797
}
9898

9999
// Core
@@ -174,6 +174,6 @@ public function __construct(
174174
public function assertFormat(): bool
175175
{
176176
/** @noinspection PhpUnhandledExceptionInspection */
177-
return $this->vocabularyEnabled('https://json-schema.org/draft/2020-12/vocab/format-annotation');
177+
return $this->vocabularyEnabled('https://json-schema.org/draft/2020-12/vocab/format-assertion');
178178
}
179179
}

0 commit comments

Comments
 (0)