Skip to content

Commit 9f770a7

Browse files
minor symfony#59469 [Validator] Image constraint fix typo in minRatio comment (symfonyaml)
This PR was merged into the 7.1 branch. Discussion ---------- [Validator] `Image` constraint fix typo in minRatio comment | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | no | New feature? | no | Deprecations? | no | License | MIT Just fixing a quick typo on the `Image` constraint, in the `$minRatio` comment. Commits ------- e4b3012 Fix typo ratio comment
2 parents 47070b7 + e4b3012 commit 9f770a7

File tree

1 file changed

+1
-1
lines changed
  • src/Symfony/Component/Validator/Constraints

1 file changed

+1
-1
lines changed

src/Symfony/Component/Validator/Constraints/Image.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class Image extends File
107107
* @param int|null $maxHeight Maximum image height
108108
* @param int|null $minHeight Minimum image weight
109109
* @param int|float|null $maxRatio Maximum image ratio
110-
* @param int|float|null $minRatio Minimum image ration
110+
* @param int|float|null $minRatio Minimum image ratio
111111
* @param int|float|null $minPixels Minimum amount of pixels
112112
* @param int|float|null $maxPixels Maximum amount of pixels
113113
* @param bool|null $allowSquare Whether to allow a square image (defaults to true)

0 commit comments

Comments
 (0)