Scrutinizer Auto-Fixes

@DeepDiver1975 requested this pull request.

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/owncloud/tasks/inspections/d3a91d9b-361d-4b6a-ae62-e97f80fb50f8

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