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/core/inspections/7321afa0-d5b1-4d44-9bbc-1a9797bd872e

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