This commit is contained in:
2021-09-02 14:14:21 +08:00
parent 9add6a51e7
commit 7ae96a0521
+2 -2
View File
@@ -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);