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/e5f72551-a1d6-4f27-8c4e-afb4915dd7a2

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