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(
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}
You can’t perform that action at this time.
0 commit comments