From bffe3752302c6c752192a5cdb52bea04a4e31dcd Mon Sep 17 00:00:00 2001 From: Administrator Date: Fri, 17 Dec 2021 04:20:20 +0800 Subject: [PATCH] 1 --- Abstracts/BaseProcess.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Abstracts/BaseProcess.php b/Abstracts/BaseProcess.php index 601b9e5..e4e8e34 100644 --- a/Abstracts/BaseProcess.php +++ b/Abstracts/BaseProcess.php @@ -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,10 +47,10 @@ abstract class BaseProcess implements OnProcessInterface } /** - * @return mixed - */ - public function getRedirectStdinAndStdout(): mixed - { + * @return bool + */ + public function getRedirectStdinAndStdout(): bool + { return $this->redirect_stdin_and_stdout; }