Scrutinizer Auto-Fixes

@ppetermann requested this pull request.

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/Kingboard/Kingboard/inspections/1667054a-a124-49c7-a4da-ef5114570343

Enabled analysis tools:
 - PHP Analyzer
 - PHP Copy/Paste Detector
 - PHP PDepend