Skip to content

Commit 87426de

Browse files
Update working-with-the-bundle.md (#32)
1 parent f2a40c6 commit 87426de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/doc/working-with-the-bundle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ class ItemFilterType extends AbstractType
306306
$builder->add('rank', Filters\NumberFilterType::class);
307307

308308
$builder->add('options', Filters\CollectionAdapterFilterType::class, [
309-
'entry_type' => new OptionsFilterType(),
309+
'entry_type' => OptionsFilterType::class,
310310
'add_shared' => function (FilterBuilderExecuterInterface $qbe) {
311311
$closure = function (QueryBuilder $filterBuilder, $alias, $joinAlias, Expr $expr) {
312312
// add the join clause to the doctrine query builder

0 commit comments

Comments
 (0)