Skip to content

Commit fcfbb59

Browse files
committed
fix phpstan
1 parent 089b94d commit fcfbb59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SPC/builder/unix/library/fastlz.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ trait fastlz
99
protected function build(): void
1010
{
1111
shell()->cd($this->source_dir)->initializeEnv($this)
12-
->exec((getenv('CC') ?? 'cc') . ' -c -O3 -fPIC fastlz.c -o fastlz.o')
13-
->exec((getenv('AR') ?? 'ar') . ' rcs libfastlz.a fastlz.o');
12+
->exec((getenv('CC') ?: 'cc') . ' -c -O3 -fPIC fastlz.c -o fastlz.o')
13+
->exec((getenv('AR') ?: 'ar') . ' rcs libfastlz.a fastlz.o');
1414

1515
if (!copy($this->source_dir . '/fastlz.h', BUILD_INCLUDE_PATH . '/fastlz.h')) {
1616
throw new \RuntimeException('Failed to copy fastlz.h');

0 commit comments

Comments
 (0)