Skip to content

Commit 89332e5

Browse files
Removed scalar type hints
1 parent 624060c commit 89332e5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/EventLoop.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public static function defer(callable $callback)
7676
*
7777
* @return string An identifier that can be used to cancel, enable or disable the event.
7878
*/
79-
public static function delay(callable $callback, float $time)
79+
public static function delay(callable $callback, $time)
8080
{
8181
return self::get()->delay($callback, $time);
8282
}
@@ -89,7 +89,7 @@ public static function delay(callable $callback, float $time)
8989
*
9090
* @return string An identifier that can be used to cancel, enable or disable the event.
9191
*/
92-
public static function repeat(callable $callback, float $interval)
92+
public static function repeat(callable $callback, $interval)
9393
{
9494
return self::get()->repeat($callback, $interval);
9595
}
@@ -128,7 +128,7 @@ public static function onWritable($stream, callable $callback)
128128
*
129129
* @return string An identifier that can be used to cancel, enable or disable the event.
130130
*/
131-
public static function onSignal(int $signo, callable $callback)
131+
public static function onSignal($signo, callable $callback)
132132
{
133133
return self::get()->onSignal($signo, $callback);
134134
}
@@ -152,7 +152,7 @@ public static function onError(callable $callback)
152152
*
153153
* @return void
154154
*/
155-
public static function enable(string $eventIdentifier)
155+
public static function enable($eventIdentifier)
156156
{
157157
self::get()->enable($eventIdentifier);
158158
}
@@ -164,7 +164,7 @@ public static function enable(string $eventIdentifier)
164164
*
165165
* @return void
166166
*/
167-
public static function disable(string $eventIdentifier)
167+
public static function disable($eventIdentifier)
168168
{
169169
self::get()->disable($eventIdentifier);
170170
}
@@ -176,7 +176,7 @@ public static function disable(string $eventIdentifier)
176176
*
177177
* @return void
178178
*/
179-
public static function cancel(string $eventIdentifier)
179+
public static function cancel($eventIdentifier)
180180
{
181181
self::get()->cancel($eventIdentifier);
182182
}
@@ -190,7 +190,7 @@ public static function cancel(string $eventIdentifier)
190190
*
191191
* @return void
192192
*/
193-
public static function reference(string $eventIdentifier)
193+
public static function reference($eventIdentifier)
194194
{
195195
self::get()->reference($eventIdentifier);
196196
}
@@ -205,7 +205,7 @@ public static function reference(string $eventIdentifier)
205205
*
206206
* @return void
207207
*/
208-
public static function unreference(string $eventIdentifier)
208+
public static function unreference($eventIdentifier)
209209
{
210210
self::get()->unreference($eventIdentifier);
211211
}

0 commit comments

Comments
 (0)