OutputPage: addParserOutput*() family doesn't need to take a reference
authorBartosz Dziewoński <matma.rex@gmail.com>
Sat, 23 Aug 2014 16:20:51 +0000 (18:20 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Sat, 23 Aug 2014 19:48:27 +0000 (19:48 +0000)
commit4bb54bbe30174c6aa3ddfd63825f4163d8f5a615
tree960817ca67ff0673190ef4ddabadee9a54d751b2
parentd473b6d34390bac1c013da11ba25cec4010c19e9
OutputPage: addParserOutput*() family doesn't need to take a reference

We never assign to the variable, only call some (mutating) methods on
the object. With PHP 5 we don't need to pass this by reference.

The functions that evolved into this family were originally added in
r12337, back then we probably still ran on PHP 4 or something.

Change-Id: Ib4ab141ca6d803f9df0351b1f65c7e9955c37d57
includes/OutputPage.php