Permalink
Browse files

Fixed clearTimeout.

  • Loading branch information...
1 parent aaa7b11 commit e43d832d8f21958787e61da257682b8b2d57e8dd @rstuven committed Mar 30, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 Timers.class.php
View
@@ -101,13 +101,13 @@ function setInterval ($func, $milliseconds)
* Just for simplifying the Timers::clearTimeout method
*
*
- * @param integer $interval - an integer representing the one returned from a call to setTimeout()
+ * @param integer $timer
*
* @return boolean
*/
-function clearTimeout ($func, $milliseconds)
+function clearTimeout ($timer)
{
- return Timers::setTimeout($func, $milliseconds);
+ return Timers::clearTimeout($timer);
}
/**

0 comments on commit e43d832

Please sign in to comment.