Line 190 does .. but either it shouldn't or I should add the 2 missing terminators, I added that one just for symmetry with the other lines I guess.

But line 170 is still good for copy and pasting IMO as it is `$qb->from()->document(..');`, the following line would be `$qb->where()->..`. I.e. following the first example in this document of one statement per part.