Skip to content

Commit 2e286f8

Browse files
committed
minor symfony#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 ------- b72ced2 [Validator] Add a property tag for File::$maxSize
2 parents 0bbdd88 + b72ced2 commit 2e286f8

File tree

1 file changed

+2
-0
lines changed
  • src/Symfony/Component/Validator/Constraints

1 file changed

+2
-0
lines changed

src/Symfony/Component/Validator/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)