瀏覽代碼

Update Libevent.php

walkor 10 年之前
父節點
當前提交
64e5ba3535
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Events/Libevent.php

+ 1 - 1
Events/Libevent.php

@@ -56,7 +56,7 @@ class Libevent implements EventInterface
      * 添加事件
      * @see EventInterface::add()
      */
-    public function add($fd, $flag, $func, $args=null)
+    public function add($fd, $flag, $func, $args=array())
     {
         switch($flag)
         {