Skip to content

Commit d7143cb

Browse files
jelmersnoeckweaverryan
authored andcommitted
Constraints: allowMissingFields typo.
Fix the allowMissingfields typo. This should be allowMissingFields.
1 parent 626d608 commit d7143cb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reference/constraints/Collection.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The ``Collection`` constraint allows you to validate the different keys of
3131
a collection individually. Take the following example::
3232

3333
namespace Acme\BlogBundle\Entity;
34-
34+
3535
class Author
3636
{
3737
protected $profileData = array(
@@ -63,7 +63,7 @@ blank but is no longer than 100 characters in length, you would do the following
6363
- MaxLength:
6464
limit: 100
6565
message: Your short bio is too long!
66-
allowMissingfields: true
66+
allowMissingFields: true
6767
6868
.. code-block:: php-annotations
6969
@@ -84,7 +84,7 @@ blank but is no longer than 100 characters in length, you would do the following
8484
* )
8585
* }
8686
* },
87-
* allowMissingfields = true
87+
* allowMissingFields = true
8888
* )
8989
*/
9090
protected $profileData = array(
@@ -199,4 +199,4 @@ missingFieldsMessage
199199
**type**: ``Boolean`` **default**: ``The fields {{ fields }} are missing``
200200

201201
The message shown if `allowMissingFields`_ is false and one or more fields
202-
are missing from the underlying collection.
202+
are missing from the underlying collection.

0 commit comments

Comments
 (0)