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