Skip to content

Commit 14541c5

Browse files
committed
Minor reword
1 parent 61b645b commit 14541c5

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

reference/constraints/Count.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,16 +111,20 @@ min
111111

112112
**type**: ``integer``
113113

114-
This required option is the "min" count value. Validation will fail if the
115-
given collection elements count is **less** than this min value.
114+
This option is the "min" count value. Validation will fail if the given
115+
collection elements count is **less** than this min value.
116+
117+
This option is required when the ``max`` option is not defined.
116118

117119
max
118120
~~~
119121

120122
**type**: ``integer``
121123

122-
This option is the "max" count value and it is required if the **min** option has not been defined. Validation will fail if the
123-
given collection elements count is **greater** than this max value.
124+
This option is the "max" count value. Validation will fail if the given
125+
collection elements count is **greater** than this max value.
126+
127+
This option is required when the ``min`` option is not defined.
124128

125129
minMessage
126130
~~~~~~~~~~

0 commit comments

Comments
 (0)