This commit is contained in:
crazywhalecc
2025-12-11 16:04:29 +08:00
parent fefcbf4029
commit 910f10a1dd

View File

@@ -10,7 +10,7 @@ use StaticPHP\Util\System\LinuxUtil;
class OSCheck class OSCheck
{ {
#[CheckItem('if current OS are supported', level: 1000)] #[CheckItem('if current OS is supported', level: 1000)]
public function checkOS(): ?CheckResult public function checkOS(): ?CheckResult
{ {
if (!in_array(PHP_OS_FAMILY, ['Darwin', 'Linux', 'Windows'])) { if (!in_array(PHP_OS_FAMILY, ['Darwin', 'Linux', 'Windows'])) {