Skip to content

Commit 5f47181

Browse files
committed
cleaner
1 parent a396048 commit 5f47181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SPC/builder/LibraryBase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ public function tryInstall(string $install_file, bool $force_install = false): i
214214
*/
215215
public function tryBuild(bool $force_build = false): int
216216
{
217-
if (getenv('SPC_CMD_VAR_PHP_MAKE_EXTRA_LDFLAGS') && str_contains(getenv('SPC_CMD_VAR_PHP_MAKE_EXTRA_LDFLAGS'), '-release')) {
217+
if (str_contains((string) getenv('SPC_CMD_VAR_PHP_MAKE_EXTRA_LDFLAGS'), '-release')) {
218218
FileSystem::replaceFileLineContainsString(
219219
SOURCE_PATH . '/php-src/ext/standard/info.c',
220220
'#ifdef CONFIGURE_COMMAND',

0 commit comments

Comments
 (0)