Scrutinizer Auto-Fixes

@Ashrey requested this pull request.

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/Ashrey/KBackend/inspections/bcd11a69-5edf-407a-be53-9aacd1123095

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