Skip to content

Commit b5034f8

Browse files
committed
-
1 parent c487502 commit b5034f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reference/constraints/UniqueEntity.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@ entities to have a ``null`` value for a field without failing validation.
263263
If set to ``false``, only one ``null`` value is allowed - if a second entity
264264
also has a ``null`` value, validation would fail.
265265

266-
Instead of ignoring all or none of the ``null`` values, you can also set this
267-
option to the name of the property or set of properties to ignore their ``null`` values:
266+
In addition to ignoring the ``null`` values of all unique fields, you can also use
267+
this option to specify one or more fields to only ignore ``null`` values on them:
268268

269269
.. configuration-block::
270270

@@ -347,7 +347,7 @@ option to the name of the property or set of properties to ignore their ``null``
347347

348348
.. versionadded:: 6.3
349349

350-
The option to ignore ``null`` values for specific properties was introduced
350+
The option to ignore ``null`` values for specific fields was introduced
351351
in Symfony 6.3.
352352

353353
``message``

0 commit comments

Comments
 (0)