Scrutinizer Auto-Fixes

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/bangpound/LegacyPhpHttpKernel/inspections/e2256766-fbc9-4997-86bd-b43bb1556086

Enabled analysis tools:
 - PHP Analyzer
 - PHP PDepend
 - PHP Similarity Analyzer