Skip to content

Commit 9336297

Browse files
authored
Add attribute #[\AllowDynamicProperties] to allow applying defaults without deprecation warning (#695)
1 parent 5174319 commit 9336297

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
@@ -21,6 +21,7 @@
2121
* @author Robert Schönthal <[email protected]>
2222
* @author Bruno Prieto Reis <[email protected]>
2323
*/
24+
#[\AllowDynamicProperties]
2425
class UndefinedConstraint extends Constraint
2526
{
2627
/**

0 commit comments

Comments
 (0)