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) { }