Skip to content

Commit 491d5b0

Browse files
Merge pull request #100 from imliam/patch-1
Add return type declarations to withProcess and withEnv
2 parents 679d794 + e5cd813 commit 491d5b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Commands/Concerns/ManagesProcess.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,14 +228,14 @@ public function sendInput(mixed $input)
228228
}
229229
}
230230

231-
public function withProcess(Closure $cb)
231+
public function withProcess(Closure $cb): static
232232
{
233233
$this->processModifier = $cb;
234234

235235
return $this;
236236
}
237237

238-
public function withEnv(array $env)
238+
public function withEnv(array $env): static
239239
{
240240
$this->environment = $env;
241241

0 commit comments

Comments
 (0)