Skip to content

Commit b394ea4

Browse files
committed
Fixed query_builder option
1 parent c8f4583 commit b394ea4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/forms/types/entity.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ cast into a string and so must have a ``__toString()`` method.
166166
query_builder
167167
~~~~~~~~~~~~~
168168

169-
**type**: ``Doctrine\ORM\QueryBuilder`` or a Closure
169+
**type**: ``Doctrine\ORM\QueryBuilder`` or a Closure **default**: ``null``
170170

171171
Allows you to create a custom query for your choices. See
172172
:ref:`ref-form-entity-query-builder` for an example.

0 commit comments

Comments
 (0)