This commit is contained in:
2021-02-23 16:57:35 +08:00
parent 7ae8d4ffc2
commit 6462af4c07
+1 -1
View File
@@ -56,7 +56,7 @@ abstract class Pool extends Component
* @return array
* @throws Exception
*/
protected function getFromChannel($name, array $callback): mixed
protected function getFromChannel($name, mixed $callback): mixed
{
if (!Context::inCoroutine()) {
return $this->createClient($name, $callback);