Skip to content

Commit d49a140

Browse files
committed
docs: Add clarification on default dialect
1 parent ccfa715 commit d49a140

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/JsonSchema/Constraints/Factory.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ class Factory
5151
*/
5252
protected $errorContext = Validator::ERROR_DOCUMENT_VALIDATION;
5353

54-
/** @var string */
54+
/**
55+
* The default dialect used for strict mode (Constraint::CHECK_MODE_STRICT) when the schema is without a schema property
56+
* @var string
57+
*/
5558
private $defaultDialect = DraftIdentifiers::DRAFT_6;
5659

5760
/**

0 commit comments

Comments
 (0)