Browse Source

Update Libevent.php

walkor 10 năm trước cách đây
mục cha
commit
64e5ba3535
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)
         {