Scrutinizer Auto-Fixes

@ufik requested this pull request.

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/ufik/WebCMS2/inspections/56d2d0d8-0ba2-432c-ae4f-5a9072362f78

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