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++;