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/7e78fc59-2f37-44ba-a04d-63bd11c15926

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