Skip to content

Commit 9e1b4e7

Browse files
committed
fix notice
1 parent e98e906 commit 9e1b4e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Events/Ev.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function add($fd, $flag, $func, $args=null)
6868
case self::EV_TIMER:
6969
case self::EV_TIMER_ONCE:
7070
$repeat = $flag==self::EV_TIMER_ONCE ? 0 : $fd;
71-
$param = array($func, (array)$args, $flag, $time_interval, self::$_timerId);
71+
$param = array($func, (array)$args, $flag, $fd, self::$_timerId);
7272
$event = new \EvTimer($fd, $repeat, array($this, 'timerCallback'),$param);
7373
$this->_eventTimer[self::$_timerId] = $event;
7474
return self::$_timerId++;

0 commit comments

Comments
 (0)