Scrutinizer Auto-Fixes

@pies requested this pull request.

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/pies/TorrentzViewer/inspections/a97fcecd-5454-45e6-9379-3791021ec3c6

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