You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor symfony#58810 [Validator] Improve type for the mode property of the Bic constraint (stof)
This PR was merged into the 7.2 branch.
Discussion
----------
[Validator] Improve type for the `mode` property of the Bic constraint
| Q | A
| ------------- | ---
| Branch? | 7.2
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Issues |
| License | MIT
- the property should not be nullable as the constructor prevents assigning null and the validator does not expect it either
- phpdoc types are added to let static analysis tool know about the valid modes thanks to the available class constants
This improves the new feature introduced in 7.2 (before the BC policy prevents us from fixing the nullability of the public property)
Commits
-------
aa86ec4 Improve type for the `mode` property of the Bic constraint
0 commit comments