Skip to content

Commit fb64173

Browse files
Minor syntax issue
In other docs, we wrap "callable" with quotes only in the option definition, not in the description. I made this change to be consistent ... but we can reconsider this if you disagree. Thanks!
1 parent ab58080 commit fb64173

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/forms/types/entity.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ query_builder
186186
Allows you to create a custom query for your choices. See
187187
:ref:`ref-form-entity-query-builder` for an example.
188188

189-
The value of this option can either be a ``QueryBuilder`` object, a ``callable`` or
190-
``null`` (which will load all entities). When using a ``callable``, you will be
189+
The value of this option can either be a ``QueryBuilder`` object, a callable or
190+
``null`` (which will load all entities). When using a callable, you will be
191191
passed the ``EntityRepository`` of the entity as the only argument and should
192192
return a ``QueryBuilder``.
193193

0 commit comments

Comments
 (0)