Hygiene: fix feedback from scrutinizer #3

I ran scrutinizer-ci.com against flow - these are some of the things it came up
with.

https://scrutinizer-ci.com/g/matthiasmullie/mediawiki-extensions-Flow/inspections/d37be56d-1a25-4c3c-8f2e-f47fc8f3c403/issues/

Change-Id: I90cdb4d2759281aa0af8d52e8d36785e77ed7fb6