Scrutinizer Auto-Fixes

@LewisW requested this pull request.

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/vivait/user-bundle/inspections/d994d076-9b81-421e-bbfb-0714d34683f9

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