Scrutinizer Auto-Fixes

@pkruithof requested this pull request.

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/financial-media/keystone-client/inspections/d79dbfe7-01ca-405b-a7a5-d60a70d43426

Enabled analysis tools:
 - PHP Analyzer
 - PHP Copy/Paste Detector
 - PHP PDepend