Hygiene: fix feedback from scrutinizer #5

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: I42c3be37c6ede414af643c04a4de8548805f056c