We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e69b0b commit 645a4d8Copy full SHA for 645a4d8
validation.rst
@@ -611,6 +611,13 @@ class to have at least 3 characters.
611
}
612
613
614
+.. caution::
615
+
616
+ With PHP 7.4, typed properties were introduced. If a property is accessed
617
+ before a value is assigned (explicitly or as a default value), PHP will
618
+ throw an exception. To avoid that, the Validator will use ``null`` as the
619
+ properties value if it's uninitialized.
620
621
.. index::
622
single: Validation; Getter constraints
623
0 commit comments