From 1425baf00f6342bfee89b726326225a8b6a8ea80 Mon Sep 17 00:00:00 2001 From: walkor Date: Thu, 7 Apr 2016 15:26:43 +0800 Subject: [PATCH] Update Server.php --- src/Server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Server.php b/src/Server.php index 42d6793..3ad2ee5 100644 --- a/src/Server.php +++ b/src/Server.php @@ -32,7 +32,7 @@ public function __construct($ip = '0.0.0.0', $port = 2206) * onClose * @return void */ - public function onClose() + public function onClose($connection) { if(empty($connection->channels)) {