Skip to content

Commit

Permalink
fix!
Browse files Browse the repository at this point in the history
  • Loading branch information
VennDev authored Aug 29, 2024
1 parent ae30ce2 commit 09a7149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vennv/vapm/EventLoop.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class EventLoop implements EventLoopInterface

public static function init(): void
{
if (!isset(self::$queues)) self::$queues = new SplQueue();
self::$queues ??= new SplQueue();
}

public static function generateId(): int
Expand Down

0 comments on commit 09a7149

Please sign in to comment.