Skip to content

Commit cc285ae

Browse files
committed
cs fix
1 parent a5a020e commit cc285ae

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

src/SPC/util/UnixShell.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,4 @@ private function getExecString(string $cmd): string
129129
}
130130
return $cmd;
131131
}
132-
133-
public function getEnv(): array
134-
{
135-
return $this->env;
136-
}
137132
}

src/SPC/util/executor/UnixAutoconfExecutor.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function getConfigureArgsString(): string
4646
/**
4747
* Run make
4848
*
49-
* @param string $target Build target
49+
* @param string $target Build target
5050
* @throws RuntimeException
5151
*/
5252
public function make(string $target = '', false|string $with_install = 'install', bool $with_clean = true, array $after_env_vars = []): static
@@ -72,9 +72,9 @@ public function exec(string $cmd): static
7272
* Add optional library configuration.
7373
* This method checks if a library is available and adds the corresponding arguments to the CMake configuration.
7474
*
75-
* @param string $name library name to check
76-
* @param \Closure|string $true_args arguments to use if the library is available (allow closure, returns string)
77-
* @param string $false_args arguments to use if the library is not available
75+
* @param string $name library name to check
76+
* @param \Closure|string $true_args arguments to use if the library is available (allow closure, returns string)
77+
* @param string $false_args arguments to use if the library is not available
7878
* @return $this
7979
*/
8080
public function optionalLib(string $name, \Closure|string $true_args, string $false_args = ''): static

0 commit comments

Comments
 (0)