Scrutinizer Auto-Fixes

@goetas requested this pull request.

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/goetas/twital/inspections/c8b369e7-a37b-41e2-a84c-8d7ad785d64e

Enabled analysis tools:
 - PHP Analyzer
 - PHP Mess Detector
 - PHP Code Sniffer
 - Security Advisory Checker
 - PHP Copy/Paste Detector
 - PHP Lines Of Code
 - PHP PDepend