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/35254b74-7d75-450c-99b4-9943602f29dd

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