Scrutinizer Auto-Fixes

@sandello-alkr requested this pull request.

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/sandello-alkr/CMSBundle/inspections/b497db40-842e-4f0d-9d09-2930dc11165f

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