diff --git a/docs/en/reference/aggregation-builder.rst b/docs/en/reference/aggregation-builder.rst index a4d82cbf31..ebd58516e3 100644 --- a/docs/en/reference/aggregation-builder.rst +++ b/docs/en/reference/aggregation-builder.rst @@ -207,7 +207,7 @@ can tell the query builder to not return a caching iterator: createAggregationBuilder(\Documents\Orders::class); - $builder->setRewindable(false); + $builder->rewindable(false); When setting this option to ``false``, attempting a second iteration will result in an exception. Note that calling ``getAggregation()`` will always yield a