Skip to content
ce40fc1 fix style
4 successful checks

Inspection

Success

ran Mar 6, 2019 in 8 minutes with 0 failures

ce40fc1 by @murrant

Summary

2 new issues, 2 updated code elements

Annotations

Check notice on line 89 in LibreNMS/Util/StringHelpers.php

@scrutinizer scrutinizer / Inspection

LibreNMS/Util/StringHelpers.php#L89

It seems like ``preg_split('/(?=[A-Z])/', $string)`` can also be of type ``false``; however, parameter ``$pieces`` of ``implode()`` does only seem to accept ``array``, maybe add an additional type check?

Check notice on line 106 in includes/discovery/toner.inc.php

@scrutinizer scrutinizer / Inspection

includes/discovery/toner.inc.php#L106

``80%`` of this comment could be valid code. Did you maybe forget this after debugging?
You can’t perform that action at this time.