From 4a47691a75627dac16363c1ff11e0c701384946f Mon Sep 17 00:00:00 2001 From: walkor Date: Wed, 24 Feb 2016 17:03:18 +0800 Subject: [PATCH] Update Nsp.php --- src/Nsp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Nsp.php b/src/Nsp.php index 067eac5..541c211 100644 --- a/src/Nsp.php +++ b/src/Nsp.php @@ -93,7 +93,7 @@ public function remove($socket) * @api public */ - public function emit($ev) + public function emit($ev = null) { $args = func_get_args(); if (isset(self::$events[$ev]))