File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ public function __construct(
93
93
94
94
if ($ assertFormat ) {
95
95
/** @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 ' );
97
97
}
98
98
99
99
// Core
@@ -174,6 +174,6 @@ public function __construct(
174
174
public function assertFormat (): bool
175
175
{
176
176
/** @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 ' );
178
178
}
179
179
}
You can’t perform that action at this time.
0 commit comments