Browse Source

Update Libevent.php

walkor 10 years ago
parent
commit
64e5ba3535
1 changed files with 1 additions and 1 deletions
  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)
         {