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/a2732197-8449-4df7-99dc-2ea44e9b4990

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