File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,17 +31,17 @@ public function defer(callable $callback);
31
31
* Delay the execution of a callback. The time delay is approximate and accuracy is not guaranteed.
32
32
*
33
33
* @param callable $callback The callback to delay.
34
- * @param float $time The amount of time, in seconds , to delay the execution for.
34
+ * @param int $delay The amount of time, in milliseconds , to delay the execution for.
35
35
*
36
36
* @return string An identifier that can be used to cancel, enable or disable the event.
37
37
*/
38
- public function delay (callable $ callback , $ time );
38
+ public function delay (callable $ callback , $ delay );
39
39
40
40
/**
41
41
* Repeatedly execute a callback. The interval between executions is approximate and accuracy is not guaranteed.
42
42
*
43
43
* @param callable $callback The callback to repeat.
44
- * @param float $interval The time interval, in seconds , to wait between executions.
44
+ * @param int $interval The time interval, in milliseconds , to wait between executions.
45
45
*
46
46
* @return string An identifier that can be used to cancel, enable or disable the event.
47
47
*/
You can’t perform that action at this time.
0 commit comments