File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ public static function defer(callable $callback)
72
72
* Delay the execution of a callback. The time delay is approximate and accuracy is not guaranteed.
73
73
*
74
74
* @param callable $callback The callback to delay.
75
- * @param float $time The amount of time, in seconds , to delay the execution for.
75
+ * @param int $time The amount of time, in milliseconds , to delay the execution for.
76
76
*
77
77
* @return string An identifier that can be used to cancel, enable or disable the event.
78
78
*/
@@ -85,7 +85,7 @@ public static function delay(callable $callback, $time)
85
85
* Repeatedly execute a callback. The interval between executions is approximate and accuracy is not guaranteed.
86
86
*
87
87
* @param callable $callback The callback to repeat.
88
- * @param float $interval The time interval, in seconds , to wait between executions.
88
+ * @param int $interval The time interval, in milliseconds , to wait between executions.
89
89
*
90
90
* @return string An identifier that can be used to cancel, enable or disable the event.
91
91
*/
You can’t perform that action at this time.
0 commit comments