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