From bd57493d1a3b28d8da6c25762a9b32790fbc8c6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 29 Mar 2021 14:03:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Channel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Channel.php b/System/Channel.php index e42ca9c7..3fbcc3c9 100644 --- a/System/Channel.php +++ b/System/Channel.php @@ -76,7 +76,7 @@ class Channel extends Component * @return mixed * @throws Exception */ - public function pop(int|float $timeout, Closure $closure, string $name = '', int $length = 100): mixed + public function pop(int|float $timeout, string $name, Closure $closure, int $length = 100): mixed { if (($channel = $this->channelInit($length, $name)) == false) { return $this->addError('Channel is full.');