walkor 9 yıl önce
ebeveyn
işleme
9e1b4e76b8
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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++;