From cc285ae8d83afc1b7543bd93d54b227c492b8caa Mon Sep 17 00:00:00 2001 From: DubbleClick Date: Wed, 2 Jul 2025 12:57:58 +0700 Subject: [PATCH] cs fix --- src/SPC/util/UnixShell.php | 5 ----- src/SPC/util/executor/UnixAutoconfExecutor.php | 8 ++++---- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/SPC/util/UnixShell.php b/src/SPC/util/UnixShell.php index 16b079e5..ffe18910 100644 --- a/src/SPC/util/UnixShell.php +++ b/src/SPC/util/UnixShell.php @@ -129,9 +129,4 @@ class UnixShell } return $cmd; } - - public function getEnv(): array - { - return $this->env; - } } diff --git a/src/SPC/util/executor/UnixAutoconfExecutor.php b/src/SPC/util/executor/UnixAutoconfExecutor.php index d0e24a0a..1c9f496e 100644 --- a/src/SPC/util/executor/UnixAutoconfExecutor.php +++ b/src/SPC/util/executor/UnixAutoconfExecutor.php @@ -46,7 +46,7 @@ class UnixAutoconfExecutor extends Executor /** * Run make * - * @param string $target Build target + * @param string $target Build target * @throws RuntimeException */ public function make(string $target = '', false|string $with_install = 'install', bool $with_clean = true, array $after_env_vars = []): static @@ -72,9 +72,9 @@ class UnixAutoconfExecutor extends Executor * Add optional library configuration. * This method checks if a library is available and adds the corresponding arguments to the CMake configuration. * - * @param string $name library name to check - * @param \Closure|string $true_args arguments to use if the library is available (allow closure, returns string) - * @param string $false_args arguments to use if the library is not available + * @param string $name library name to check + * @param \Closure|string $true_args arguments to use if the library is available (allow closure, returns string) + * @param string $false_args arguments to use if the library is not available * @return $this */ public function optionalLib(string $name, \Closure|string $true_args, string $false_args = ''): static