Skip to content

Commit ee53a67

Browse files
committed
correct return type
1 parent 6e4f7db commit ee53a67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ChildProcess.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class ChildProcess
1212

1313
public function __construct(protected Client $client) {}
1414

15-
public function start(string $alias, string|array $cmd, ?string $cwd = null, ?array $env = null): object
15+
public function start(string $alias, string|array $cmd, ?string $cwd = null, ?array $env = null): self
1616
{
1717
$this->alias = $alias;
1818

@@ -34,7 +34,7 @@ public function start(string $alias, string|array $cmd, ?string $cwd = null, ?ar
3434
return $this;
3535
}
3636

37-
public function artisan(string $alias, string|array $cmd, ?array $env = null): object
37+
public function artisan(string $alias, string|array $cmd, ?array $env = null): self
3838
{
3939
$cmd = [PHP_BINARY, 'artisan', ...(array) $cmd];
4040

0 commit comments

Comments
 (0)