This commit is contained in:
2021-12-17 04:20:20 +08:00
parent efb69d02f3
commit bffe375230
+3 -3
View File
@@ -17,7 +17,7 @@ abstract class BaseProcess implements OnProcessInterface
protected bool $isStop = false;
protected mixed $redirect_stdin_and_stdout = null;
protected bool $redirect_stdin_and_stdout = FALSE;
protected int $pipe_type = SOCK_DGRAM;
@@ -47,9 +47,9 @@ abstract class BaseProcess implements OnProcessInterface
}
/**
* @return mixed
* @return bool
*/
public function getRedirectStdinAndStdout(): mixed
public function getRedirectStdinAndStdout(): bool
{
return $this->redirect_stdin_and_stdout;
}