Scrutinizer Auto-Fixes

@taavit requested this pull request.

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/taavit/krocart/inspections/33316905-b97d-4a32-bfcc-6f268ca1fb3d

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