Scrutinizer Auto-Fixes

@erik-smit requested this pull request.

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