Skip to content

Commit

Permalink
Merge pull request #1672 from sebastianlp/patch-1
Browse files Browse the repository at this point in the history
Bad mime type
  • Loading branch information
GuilhemN committed Feb 23, 2017
2 parents f5c8664 + 007446d commit 4185cb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/doc/param_fetcher_listener.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ configured for the matched controller so that the user does not need to do this
* The ParamFetcher will throw an error if the file passed is not a json file or is bigger than 2,000 bytes.
* See all file possible requirements: http://symfony.com/doc/current/reference/constraints/File.html
*
* @FileParam(name="avatar", requirements={"mimeTypes"="application/json", "minWidth"="200"}, image=true)
* @FileParam(name="avatar", requirements={"mimeTypes"="image/jpeg", "minWidth"="200"}, image=true)
* The ParamFetcher will throw an error if the file passed is not an image and is not larger than 200px.
* See all image possible requirements: http://symfony.com/doc/current/reference/constraints/Image.html
*
Expand Down

0 comments on commit 4185cb1

Please sign in to comment.