From b74abb55009c3bc95155d17fdd20c7daff2aa7c6 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Tue, 11 Oct 2022 23:28:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Abstracts/ProcessManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Abstracts/ProcessManager.php b/Abstracts/ProcessManager.php index 30ca42a..2fe6654 100644 --- a/Abstracts/ProcessManager.php +++ b/Abstracts/ProcessManager.php @@ -69,7 +69,7 @@ class ProcessManager extends Component if (is_string($custom)) { $custom = Kiri::getDi()->get($custom); } - if (isset($this->process[$custom->getName()])) { + if (isset($this->_process[$custom->getName()])) { throw new Exception('Process(' . $custom->getName() . ') is exists.'); } $this->_process[$custom->getName()] = new Process(function (Process $process) use ($custom) {