Scrutinizer Auto-Fixes

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/erik-smit/librenms/inspections/c0930040-994c-4304-b15f-fc0d4b0157d8

Enabled analysis tools:
 - PHP Analyzer
 - PHP Copy/Paste Detector
 - PHP PDepend
Merge pull request #1 from erik-smit/scrutinizer-patch-1

Scrutinizer Auto-Fixes