Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-01-18 16:01:02 +08:00
parent a2272edc76
commit 862acf1db1
+2 -3
View File
@@ -41,11 +41,10 @@ class Pool extends Component
/**
* @param Channel $channel
* @param Channel|SplQueue $channel
* @param $retain_number
* @throws Exception
*/
protected function pop(Channel $channel, $retain_number): void
protected function pop(Channel|SplQueue $channel, $retain_number): void
{
while ($channel->length() > $retain_number) {
if (Context::inCoroutine()) {