Scrutinizer Auto-Fixes

@ryanarmstrong requested this pull request.

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/ryanarmstrong/restapi/inspections/538a81bb-17c6-45df-9695-395277c1d66b

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