From 06d3a6d75970e0cb05aaa38c5ecd7ed51340c82e Mon Sep 17 00:00:00 2001 From: walkor Date: Thu, 5 Oct 2023 09:34:36 +0800 Subject: [PATCH] Update Worker.php --- src/Worker.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Worker.php b/src/Worker.php index 6fa5a8b8b..39262277e 100644 --- a/src/Worker.php +++ b/src/Worker.php @@ -1921,6 +1921,7 @@ public static function stopAll(int $code = 0, mixed $log = ''): void try { // Ignore Swoole ExitException: Swoole exit. exit($code); + /** @phpstan-ignore-next-line */ } catch(\Exception $e) { }