phpstan fix

This commit is contained in:
crazywhalecc
2025-06-18 20:57:14 +08:00
parent 92284e92c9
commit d6858e18df

View File

@@ -105,7 +105,7 @@ function osfamily2dir(): string
function osfamily2shortname(): string
{
return match (PHP_OS_FAMILY) {
'Windows', 'WINNT', 'Cygwin' => 'win',
'Windows' => 'win',
'Darwin' => 'macos',
'Linux' => 'linux',
'BSD' => 'bsd',