Skip to content

Commit

Permalink
Add attribute #[\AllowDynamicProperties] to allow applying defaults…
Browse files Browse the repository at this point in the history
… without deprecation warning (#695)
  • Loading branch information
rtm-ctrlz authored Sep 5, 2023
1 parent 5174319 commit 9336297
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/JsonSchema/Constraints/UndefinedConstraint.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
* @author Robert Schönthal <[email protected]>
* @author Bruno Prieto Reis <[email protected]>
*/
#[\AllowDynamicProperties]
class UndefinedConstraint extends Constraint
{
/**
Expand Down

0 comments on commit 9336297

Please sign in to comment.