From d8005f21f994be80b416c1bac950f4ad8cc23b7a Mon Sep 17 00:00:00 2001 From: as2252258 Date: Sun, 10 Apr 2022 15:34:12 +0800 Subject: [PATCH] modify mysql result --- Events/OnWorkerExit.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Events/OnWorkerExit.php b/Events/OnWorkerExit.php index 8fa6dc9..b8a6492 100644 --- a/Events/OnWorkerExit.php +++ b/Events/OnWorkerExit.php @@ -11,11 +11,11 @@ class OnWorkerExit { - /** - * @param Server $server - * @param int $workerId - */ - public function __construct(public Server $server, public int $workerId) + /** + * @param Server|null $server + * @param int $workerId + */ + public function __construct(public ?Server $server, public int $workerId) { }