Skip to content

Commit 7dec34b

Browse files
committed
Fix redundant pre-built name calling
1 parent 62d619b commit 7dec34b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SPC/store/Downloader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ public static function curlDown(string $url, string $path, string $method = 'GET
597597

598598
public static function getPreBuiltLockName(string $source): string
599599
{
600-
return "{$source}-" . PHP_OS_FAMILY . '-' . getenv('GNU_ARCH') . '-' . (getenv('SPC_LIBC') ?: 'default') . '-' . (SystemUtil::getLibcVersionIfExists() ?: 'default');
600+
return "{$source}-" . PHP_OS_FAMILY . '-' . getenv('GNU_ARCH') . '-' . (getenv('SPC_LIBC') ?: 'default') . '-' . (SystemUtil::getLibcVersionIfExists() ?? 'default');
601601
}
602602

603603
/**

0 commit comments

Comments
 (0)