Skip to content

Commit dace2d8

Browse files
Removed scalar type hints
1 parent 6113525 commit dace2d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/EventLoopDriver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function defer(callable $callback);
3535
*
3636
* @return string An identifier that can be used to cancel, enable or disable the event.
3737
*/
38-
public function delay(callable $callback, float $time);
38+
public function delay(callable $callback, $time);
3939

4040
/**
4141
* Repeatedly execute a callback. The interval between executions is approximate and accuracy is not guaranteed.
@@ -45,7 +45,7 @@ public function delay(callable $callback, float $time);
4545
*
4646
* @return string An identifier that can be used to cancel, enable or disable the event.
4747
*/
48-
public function repeat(callable $callback, float $interval);
48+
public function repeat(callable $callback, $interval);
4949

5050
/**
5151
* Execute a callback when a stream resource becomes readable.

0 commit comments

Comments
 (0)