Scrutinizer Auto-Fixes

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/Factory-QA/factory/inspections/dda2e45e-1d46-4de4-873f-e28f1cd4342a

Enabled analysis tools:
 - PHP Analyzer
 - PHP PDepend
 - PHP Similarity Analyzer
 - PHP Change Tracking Analyzer
Merge pull request #1 from Factory-QA/scrutinizer-patch-1

Scrutinizer Auto-Fixes