Skip to content

Commit bc46e8c

Browse files
committed
tidy - remove unused class properties
1 parent 8b342fd commit bc46e8c

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/ChildProcess.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,10 @@
66

77
class ChildProcess
88
{
9-
private string $alias;
10-
11-
private ?array $process;
12-
139
public function __construct(protected Client $client) {}
1410

1511
public function start(string|array $cmd, string $alias, ?string $cwd = null, ?array $env = null): self
1612
{
17-
$this->alias = $alias;
18-
1913
$cwd = $cwd ?? base_path();
2014

2115
$cmd = is_iterable($cmd)
@@ -24,7 +18,7 @@ public function start(string|array $cmd, string $alias, ?string $cwd = null, ?ar
2418
// when a string is passed, explode it on the space
2519
: array_values(array_filter(explode(' ', $cmd)));
2620

27-
$this->process = $this->client->post('child-process/start', [
21+
$this->client->post('child-process/start', [
2822
'alias' => $alias,
2923
'cmd' => $cmd,
3024
'cwd' => $cwd,

0 commit comments

Comments
 (0)