Skip to content

Commit 54c4ded

Browse files
Missing static's
1 parent c6184ed commit 54c4ded

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
@@ -123,7 +123,7 @@ public static function onReadable($stream, callable $callback)
123123
*
124124
* @return string An identifier that can be used to cancel, enable or disable the event.
125125
*/
126-
public function onWritable($stream, callable $callback)
126+
public static function onWritable($stream, callable $callback)
127127
{
128128
self::inScope();
129129

@@ -138,7 +138,7 @@ public function onWritable($stream, callable $callback)
138138
*
139139
* @return string An identifier that can be used to cancel, enable or disable the event.
140140
*/
141-
public function onSignal(int $signo, callable $callback)
141+
public static function onSignal(int $signo, callable $callback)
142142
{
143143
self::inScope();
144144

@@ -152,7 +152,7 @@ public function onSignal(int $signo, callable $callback)
152152
*
153153
* @return string An identifier that can be used to cancel, enable or disable the event.
154154
*/
155-
public function onError(callable $callback)
155+
public static function onError(callable $callback)
156156
{
157157
self::inScope();
158158

@@ -166,7 +166,7 @@ public function onError(callable $callback)
166166
*
167167
* @return void
168168
*/
169-
public function enable(string $eventIdentifier)
169+
public static function enable(string $eventIdentifier)
170170
{
171171
self::inScope();
172172

@@ -180,7 +180,7 @@ public function enable(string $eventIdentifier)
180180
*
181181
* @return void
182182
*/
183-
public function disable(string $eventIdentifier)
183+
public static function disable(string $eventIdentifier)
184184
{
185185
self::inScope();
186186

@@ -194,7 +194,7 @@ public function disable(string $eventIdentifier)
194194
*
195195
* @return void
196196
*/
197-
public function cancel(string $eventIdentifier)
197+
public static function cancel(string $eventIdentifier)
198198
{
199199
self::inScope();
200200

@@ -210,7 +210,7 @@ public function cancel(string $eventIdentifier)
210210
*
211211
* @return void
212212
*/
213-
public function reference(string $eventIdentifier)
213+
public static function reference(string $eventIdentifier)
214214
{
215215
self::inScope();
216216

@@ -227,7 +227,7 @@ public function reference(string $eventIdentifier)
227227
*
228228
* @return void
229229
*/
230-
public function unreference(string $eventIdentifier)
230+
public static function unreference(string $eventIdentifier)
231231
{
232232
self::inScope();
233233

0 commit comments

Comments
 (0)