Tony Murray 9284bc60ff Update code in includes to be PSR-2 compliant (#4220)
refactor: Update code in /includes to be psr2 compliant #4220
2016-08-28 18:32:58 +01:00

6 lines
190 B
PHP

<?php
$lastSpace = strrpos($poll_device['sysDescr'], ' ');
$hardware = trim(substr($poll_device['sysDescr'], 0, $lastSpace));
$version = trim(substr($poll_device['sysDescr'], $lastSpace));