Skip to content

Commit fbbe7e5

Browse files
Add attribute #[\AllowDynamicProperties] to allow applying defaults without deprecation warning (#695) (#701)
Co-authored-by: Ilya Urvachev <[email protected]>
1 parent ad87d5a commit fbbe7e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/JsonSchema/Constraints/UndefinedConstraint.php

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
* @author Robert Schönthal <[email protected]>
2121
* @author Bruno Prieto Reis <[email protected]>
2222
*/
23+
#[\AllowDynamicProperties]
2324
class UndefinedConstraint extends Constraint
2425
{
2526
/**

0 commit comments

Comments
 (0)