mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-10 10:25:36 +08:00
fix SourcePatcher::patchHardcodedINI method signature
This commit is contained in:
@@ -336,7 +336,7 @@ class php extends TargetPackage
|
|||||||
logger()->info("Adding hardcoded INI [{$source_name} = {$ini_value}]");
|
logger()->info("Adding hardcoded INI [{$source_name} = {$ini_value}]");
|
||||||
}
|
}
|
||||||
if (!empty($custom_ini)) {
|
if (!empty($custom_ini)) {
|
||||||
ApplicationContext::invoke([SourcePatcher::class, 'patchHardcodedINI'], [$package->getSourceDir(), $custom_ini]);
|
ApplicationContext::invoke([SourcePatcher::class, 'patchHardcodedINI'], ['php_source_dir' => $package->getSourceDir(), 'ini' => $custom_ini]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Patch StaticPHP version
|
// Patch StaticPHP version
|
||||||
|
|||||||
Reference in New Issue
Block a user