From 7ae96a05211b9ca7c9a18ad16f97d0172d353d57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 2 Sep 2021 14:14:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/Pool/Pool.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/Pool/Pool.php b/core/Pool/Pool.php index 8cc4f91b..6ac21216 100644 --- a/core/Pool/Pool.php +++ b/core/Pool/Pool.php @@ -77,11 +77,11 @@ class Pool extends Component /** * @param $name - * @return Channel + * @return Channel|SplQueue * @throws ConfigException * @throws Exception */ - private function getChannel($name): Channel + private function getChannel($name): Channel|SplQueue { if (!isset(static::$_connections[$name])) { $this->newChannel($name);