refactor: Prevent function collisions with Laravel (#8166)

Make function call compatible
drop insensitive starts_with and ends_with for now as they aren't needed.
This commit is contained in:
Tony Murray
2018-01-29 15:58:21 -06:00
committed by Neil Lathwood
parent 1ee7d51f7a
commit b2762d9fa7
8 changed files with 56 additions and 73 deletions

View File

@@ -41,7 +41,7 @@ class Symbol extends OS implements WirelessClientsDiscovery
{
$device = $this->getDevice();
if (str_contains($device['hardware'], 'AP', true)) {
if (str_i_contains($device['hardware'], 'AP')) {
$oid = '.1.3.6.1.4.1.388.11.2.4.2.100.10.1.18.1';
return array(
new WirelessSensor('clients', $device['device_id'], $oid, 'symbol', 1, 'Clients')