Skip to content

Commit 4e2c66d

Browse files
authored
Update messenger.rst
shouldFlush-method in documentation wasn't updatet
1 parent 802dc73 commit 4e2c66d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

messenger.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2644,7 +2644,7 @@ provided in order to ease the declaration of these special handlers::
26442644
// of the trait to define your own batch size...
26452645
private function shouldFlush(): bool
26462646
{
2647-
return 100 <= \count($this->jobs);
2647+
return $this->getBatchSize() <= \count($this->jobs);
26482648
}
26492649

26502650
// ... or redefine the `getBatchSize()` method if the default

0 commit comments

Comments
 (0)