Skip to content

Commit 0a67e3f

Browse files
committed
Ensure the new loop follows the standard set by @Ocramius in reactphp#167, pointed out by @clue at reactphp#112 (comment)
1 parent f517a17 commit 0a67e3f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ExtUvLoop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ final class ExtUvLoop implements LoopInterface
3131

3232
public function __construct()
3333
{
34-
if (!function_exists('uv_loop_new')) {
34+
if (!\function_exists('uv_loop_new')) {
3535
throw new \BadMethodCallException('Cannot create LibUvLoop, ext-uv extension missing');
3636
}
3737

0 commit comments

Comments
 (0)