Apply fixes from StyleCI (#12124)

This commit is contained in:
Jellyfrog
2020-09-21 15:59:34 +02:00
committed by GitHub
parent 0d56bbd946
commit 29f45ca352
816 changed files with 5038 additions and 5038 deletions

View File

@@ -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]));
}