Skip to content

Commit

Permalink
Fix option filenameMaxLength to the File constraint (Image)
Browse files Browse the repository at this point in the history
  • Loading branch information
mindaugasvcs committed Jan 23, 2024
1 parent 71d246d commit 91b7f3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Constraints/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class Image extends File
self::EMPTY_ERROR => 'EMPTY_ERROR',
self::TOO_LARGE_ERROR => 'TOO_LARGE_ERROR',
self::INVALID_MIME_TYPE_ERROR => 'INVALID_MIME_TYPE_ERROR',
self::FILENAME_TOO_LONG => 'FILENAME_TOO_LONG',
self::SIZE_NOT_DETECTED_ERROR => 'SIZE_NOT_DETECTED_ERROR',
self::TOO_WIDE_ERROR => 'TOO_WIDE_ERROR',
self::TOO_NARROW_ERROR => 'TOO_NARROW_ERROR',
Expand Down

0 comments on commit 91b7f3f

Please sign in to comment.