改名
This commit is contained in:
+2
-2
@@ -77,11 +77,11 @@ class Pool extends Component
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param $name
|
* @param $name
|
||||||
* @return Channel
|
* @return Channel|SplQueue
|
||||||
* @throws ConfigException
|
* @throws ConfigException
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
private function getChannel($name): Channel
|
private function getChannel($name): Channel|SplQueue
|
||||||
{
|
{
|
||||||
if (!isset(static::$_connections[$name])) {
|
if (!isset(static::$_connections[$name])) {
|
||||||
$this->newChannel($name);
|
$this->newChannel($name);
|
||||||
|
|||||||
Reference in New Issue
Block a user