Skip to content

Commit 72bebdb

Browse files
author
zhangyanhe
committed
add type
1 parent 0c36b74 commit 72bebdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli/Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ protected function handleMessage($id, $message, $ttr, $attempt)
182182
$cmd[] = '--color=' . $this->isColorEnabled();
183183
}
184184

185-
$process = new Process($cmd, null, null, $message, $ttr);
185+
$process = new Process($cmd, (string)null, (array)null, $message, (float)$ttr);
186186
try {
187187
$result = $process->run(function ($type, $buffer) {
188188
if ($type === Process::ERR) {

0 commit comments

Comments
 (0)