Skip to content

Commit 91b7f3f

Browse files
committed
Fix option filenameMaxLength to the File constraint (Image)
1 parent 71d246d commit 91b7f3f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Constraints/Image.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ class Image extends File
4343
self::EMPTY_ERROR => 'EMPTY_ERROR',
4444
self::TOO_LARGE_ERROR => 'TOO_LARGE_ERROR',
4545
self::INVALID_MIME_TYPE_ERROR => 'INVALID_MIME_TYPE_ERROR',
46+
self::FILENAME_TOO_LONG => 'FILENAME_TOO_LONG',
4647
self::SIZE_NOT_DETECTED_ERROR => 'SIZE_NOT_DETECTED_ERROR',
4748
self::TOO_WIDE_ERROR => 'TOO_WIDE_ERROR',
4849
self::TOO_NARROW_ERROR => 'TOO_NARROW_ERROR',

0 commit comments

Comments
 (0)