Skip to content

Commit 5e79c1f

Browse files
committed
minor #23907 [Validator] Add a property tag for File::$maxSize (issei-m)
This PR was merged into the 2.7 branch. Discussion ---------- [Validator] Add a property tag for File::$maxSize | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | no | New feature? | no <!-- don't forget updating src/**/CHANGELOG.md files --> | BC breaks? | no | Deprecations? | no <!-- don't forget updating UPGRADE-*.md files --> | Tests pass? | Not confirmed (because minor change) | Fixed tickets | - | License | MIT | Doc PR | - For helping IDE to static analyze. Commits ------- b72ced22ad [Validator] Add a property tag for File::$maxSize
2 parents 074c023 + 98f067c commit 5e79c1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Constraints/File.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
* @Annotation
1919
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
2020
*
21+
* @property int $maxSize
22+
*
2123
* @author Bernhard Schussek <bschussek@gmail.com>
2224
*/
2325
class File extends Constraint

0 commit comments

Comments
 (0)