Scrutinizer Auto-Fixes

@fezfez requested this pull request.

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/fezfez/packagist-api/inspections/2c3ed112-144f-485f-947d-8f9c020024ba

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