Skip to content

Commit efb1ff5

Browse files
committed
test fix 2?
1 parent aff9ff2 commit efb1ff5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SPC/util/GlobalEnvManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public static function init(): void
4545
if (PHP_OS_FAMILY === 'Linux') {
4646
$arch = getenv('GNU_ARCH');
4747

48-
if (str_contains(getenv('CC'), 'zig')) {
48+
if (str_contains((string) getenv('CC'), 'zig')) {
4949
self::putenv('SPC_LINUX_DEFAULT_CC=zig-cc');
5050
self::putenv('SPC_LINUX_DEFAULT_CXX=zig-c++');
5151
self::putenv('SPC_LINUX_DEFAULT_AR=ar');

0 commit comments

Comments
 (0)