Scrutinizer Auto-Fixes

@blongden requested this pull request.

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/blongden/hal/inspections/1b8f3e32-3004-4ec9-bd22-3e4fc2a19f90

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