浏览代码

fix notice

walkor 9 年之前
父节点
当前提交
9e1b4e76b8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Events/Ev.php

+ 1 - 1
Events/Ev.php

@@ -68,7 +68,7 @@ class Ev implements EventInterface
             case self::EV_TIMER:
             case self::EV_TIMER_ONCE:
                 $repeat = $flag==self::EV_TIMER_ONCE ? 0 : $fd;
-                $param = array($func, (array)$args, $flag, $time_interval, self::$_timerId);
+                $param = array($func, (array)$args, $flag, $fd, self::$_timerId);
                 $event = new \EvTimer($fd, $repeat, array($this, 'timerCallback'),$param);
                 $this->_eventTimer[self::$_timerId] = $event;
                 return self::$_timerId++;