mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Apply fixes from StyleCI (#12124)
This commit is contained in:
@@ -229,7 +229,7 @@ class OS implements ProcessorDiscovery, OSDiscovery
|
||||
|
||||
$rf = new \ReflectionClass($this);
|
||||
$name = $rf->getShortName();
|
||||
preg_match_all("/[A-Z][a-z]*/", $name, $segments);
|
||||
preg_match_all('/[A-Z][a-z]*/', $name, $segments);
|
||||
|
||||
return implode('-', array_map('strtolower', $segments[0]));
|
||||
}
|
||||
|
Reference in New Issue
Block a user