Fix redundant pre-built name calling

This commit is contained in:
crazywhalecc 2025-03-30 22:05:50 +08:00
parent 62d619b6cd
commit 7dec34bdfe
No known key found for this signature in database
GPG Key ID: 1F4BDD59391F2680

View File

@ -597,7 +597,7 @@ class Downloader
public static function getPreBuiltLockName(string $source): string
{
return "{$source}-" . PHP_OS_FAMILY . '-' . getenv('GNU_ARCH') . '-' . (getenv('SPC_LIBC') ?: 'default') . '-' . (SystemUtil::getLibcVersionIfExists() ?: 'default');
return "{$source}-" . PHP_OS_FAMILY . '-' . getenv('GNU_ARCH') . '-' . (getenv('SPC_LIBC') ?: 'default') . '-' . (SystemUtil::getLibcVersionIfExists() ?? 'default');
}
/**