Scrutinizer Auto-Fixes

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/tanghus/journal/inspections/7ba5ad14-bf6b-4028-a540-99b0e41dc01e

Enabled analysis tools:
 - PHP Analyzer
 - PHP Mess Detector
 - PHP Code Sniffer
 - JSHint
 - PHP Copy/Paste Detector
 - PHP PDepend
Merge pull request #23 from tanghus/scrutinizer-patch-1

Scrutinizer Auto-Fixes