Hygiene: fix feedback from scrutinizer #2

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/patches

Change-Id: I254178383747c443d511a719e7fc170c08014110
Merge "Hygiene: fix feedback from scrutinizer #2"