Scrutinizer Auto-Fixes

@clarkeash requested this pull request.

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/restly/kernel/inspections/3ec28bbf-5dc8-474a-821d-674350a57aa9

Enabled analysis tools:
 - PHP Analyzer
 - PHP Code Sniffer
 - PHP CS Fixer
 - PHP Copy/Paste Detector
 - PHP Lines Of Code
 - PHP PDepend
 - PHP Change Tracking Analyzer