Skip to content

Commit

Permalink
Merge pull request #5 from NHZEX/patch-1
Browse files Browse the repository at this point in the history
修复设置默认自定义处理器类无效
  • Loading branch information
Yurunsoft authored Apr 18, 2020
2 parents a4e3397 + d6d1fdb commit 6e32f59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/YurunHttp.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public static function getHandler()
{
$class = static::$defaultHandler;
}
if(defined('SWOOLE_VERSION') && Coroutine::getuid() > -1)
else if(defined('SWOOLE_VERSION') && Coroutine::getuid() > -1)
{
$class = \Yurun\Util\YurunHttp\Handler\Swoole::class;
}
Expand Down

0 comments on commit 6e32f59

Please sign in to comment.