Scrutinizer Auto-Fixes

@Jalle19 requested this pull request.

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/Jalle19/xbmc-video-server/inspections/18dadad4-a860-4e07-8d0d-59acb0d04092

Enabled analysis tools:
 - PHP Analyzer
 - PHP PDepend
 - PHP Similarity Analyzer
 - PHP Change Tracking Analyzer