Scrutinizer Auto-Fixes

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/FabianSperrle/kn/inspections/d028eed1-40ce-4b84-b267-c0f355a33358

Enabled analysis tools:
 - PHP Analyzer
 - PHP Mess Detector
 - PHP Code Sniffer
 - PHP CS Fixer
 - PHP Copy/Paste Detector
 - PHP PDepend
Merge pull request #2 from FabianSperrle/scrutinizer-patch-1

Scrutinizer Auto-Fixes; Mainly Code Style and annotations