Skip to content

Commit e4be8a1

Browse files
committed
minor #14904 [Validator] Use seealso instead of tip for File (wkania)
This PR was merged into the 4.4 branch. Discussion ---------- [Validator] Use seealso instead of tip for File In [Unique](https://symfony.com/doc/4.4/reference/constraints/Unique.html), [UniqueEntity](https://symfony.com/doc/4.4/reference/constraints/UniqueEntity.html) and [Collection](https://symfony.com/doc/4.4/reference/constraints/Collection.html) when there is a suggestion to use another constraint, `seealso` is used. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- 78e5a5d [Validator] Use seealso instead of tip for File
2 parents 358b635 + 78e5a5d commit e4be8a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/constraints/File.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Validates that a value is a valid "file", which can be one of the following:
1111
This constraint is commonly used in forms with the :doc:`FileType </reference/forms/types/file>`
1212
form field.
1313

14-
.. tip::
14+
.. seealso::
1515

1616
If the file you're validating is an image, try the :doc:`Image </reference/constraints/Image>`
1717
constraint.

0 commit comments

Comments
 (0)