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/9eb292b1-a0e5-41f2-97a4-68d548297f38

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