diff --git a/System/Pool/Connection.php b/System/Pool/Connection.php index ac5f189f..d610db61 100644 --- a/System/Pool/Connection.php +++ b/System/Pool/Connection.php @@ -154,15 +154,6 @@ class Connection extends Pool } } - /** - * @param $coroutineId - * @param $coroutineName - * @return array - */ - private function instanceTrance($coroutineId, $coroutineName) - { - return [$coroutineId, $coroutineName]; - } /** * @param $name @@ -171,7 +162,7 @@ class Connection extends Pool */ private function getIndex($name, $isMaster = false) { - return $this->instanceTrance(Coroutine::getCid(), $this->name($name, $isMaster)); + return [Coroutine::getCid(), $this->name($name, $isMaster)]; } /**