8000 [Validator] Add a property tag for File::$maxSize · symfony/symfony@b72ced2 · GitHub
[go: up one dir, main page]

Skip to content

Commit b72ced2

Browse files
authored
[Validator] Add a property tag for File::$maxSize
1 parent f1c65c0 commit b72ced2

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)
0