Skip to content

Commit

Permalink
Ensure the new loop follows the standard set by @Ocramius in reactphp…
Browse files Browse the repository at this point in the history
  • Loading branch information
WyriHaximus committed Jan 11, 2019
1 parent f517a17 commit 0a67e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ExtUvLoop.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ final class ExtUvLoop implements LoopInterface

public function __construct()
{
if (!function_exists('uv_loop_new')) {
if (!\function_exists('uv_loop_new')) {
throw new \BadMethodCallException('Cannot create LibUvLoop, ext-uv extension missing');
}

Expand Down

0 comments on commit 0a67e3f

Please sign in to comment.