Scrutinizer Auto-Fixes

@globin requested this pull request.

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/Mayflower/tpp/inspections/96e5e551-97b6-4f6c-9fe3-df55efcaa7cb

Enabled analysis tools:
 - PHP Analyzer
 - PHP Copy/Paste Detector
 - PHP PDepend