tried to find it, but its not mentioned in the symfony coding standard and not even in PSR-2 . the closest comparable thing is in "Method and Function Calls" of PSR-2. nothing of those talks about fluent interfaces (or i overlooked it).

to me the point is that if you need to add a line in the fluent interface, you avoid the diff to affect the line above. hm. in an pseudo-realistic example: if i one day want to call ->check() after the ->flush() because we add a way to collect eventual errors, the diff the old way would both affect the line with flush() and the one i add. if we do it how i do here, the diff will only show an addition of one more line. its the same as with

    $array = array(
       'a',
       'b',
    );

where we even put a trainling `,` just to make the diff more expressive.

well, but if you don't like it, i have no strong feelings, can also change it.