Explorar o código

Update Libevent.php

walkor %!s(int64=10) %!d(string=hai) anos
pai
achega
64e5ba3535
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)
         {