@@ -76,7 +76,7 @@ public static function defer(callable $callback)
76
76
*
77
77
* @return string An identifier that can be used to cancel, enable or disable the event.
78
78
*/
79
- public static function delay (callable $ callback , float $ time )
79
+ public static function delay (callable $ callback , $ time )
80
80
{
81
81
return self ::get ()->delay ($ callback , $ time );
82
82
}
@@ -89,7 +89,7 @@ public static function delay(callable $callback, float $time)
89
89
*
90
90
* @return string An identifier that can be used to cancel, enable or disable the event.
91
91
*/
92
- public static function repeat (callable $ callback , float $ interval )
92
+ public static function repeat (callable $ callback , $ interval )
93
93
{
94
94
return self ::get ()->repeat ($ callback , $ interval );
95
95
}
@@ -128,7 +128,7 @@ public static function onWritable($stream, callable $callback)
128
128
*
129
129
* @return string An identifier that can be used to cancel, enable or disable the event.
130
130
*/
131
- public static function onSignal (int $ signo , callable $ callback )
131
+ public static function onSignal ($ signo , callable $ callback )
132
132
{
133
133
return self ::get ()->onSignal ($ signo , $ callback );
134
134
}
@@ -152,7 +152,7 @@ public static function onError(callable $callback)
152
152
*
153
153
* @return void
154
154
*/
155
- public static function enable (string $ eventIdentifier )
155
+ public static function enable ($ eventIdentifier )
156
156
{
157
157
self ::get ()->enable ($ eventIdentifier );
158
158
}
@@ -164,7 +164,7 @@ public static function enable(string $eventIdentifier)
164
164
*
165
165
* @return void
166
166
*/
167
- public static function disable (string $ eventIdentifier )
167
+ public static function disable ($ eventIdentifier )
168
168
{
169
169
self ::get ()->disable ($ eventIdentifier );
170
170
}
@@ -176,7 +176,7 @@ public static function disable(string $eventIdentifier)
176
176
*
177
177
* @return void
178
178
*/
179
- public static function cancel (string $ eventIdentifier )
179
+ public static function cancel ($ eventIdentifier )
180
180
{
181
181
self ::get ()->cancel ($ eventIdentifier );
182
182
}
@@ -190,7 +190,7 @@ public static function cancel(string $eventIdentifier)
190
190
*
191
191
* @return void
192
192
*/
193
- public static function reference (string $ eventIdentifier )
193
+ public static function reference ($ eventIdentifier )
194
194
{
195
195
self ::get ()->reference ($ eventIdentifier );
196
196
}
@@ -205,7 +205,7 @@ public static function reference(string $eventIdentifier)
205
205
*
206
206
* @return void
207
207
*/
208
- public static function unreference (string $ eventIdentifier )
208
+ public static function unreference ($ eventIdentifier )
209
209
{
210
210
self ::get ()->unreference ($ eventIdentifier );
211
211
}
0 commit comments