Skip to content

Commit 62b8faf

Browse files
committed
feedback - tidy cwd default path
1 parent 160b867 commit 62b8faf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/ChildProcess.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,14 @@ public function all(): array
5050

5151
return $hydrated;
5252
}
53-
53+
5454
public function start(
55-
string|array $cmd
55+
string|array $cmd,
5656
string $alias,
5757
?string $cwd = null,
5858
?array $env = null,
5959
bool $persistent = false
6060
): static {
61-
$cwd = $cwd ?? base_path();
6261

6362
if (is_string($cmd)) {
6463
// When a string is passed, explode it on the space

0 commit comments

Comments
 (0)