Scrutinizer Auto-Fixes

@bangpound requested this pull request.

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/bangpound/LegacyPhpHttpKernel/inspections/f38bf499-723b-40a3-8360-bd591e7c6b0c

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