Apply fixes from StyleCI

This commit is contained in:
ThinkPHP
2016-12-24 13:46:11 +00:00
committed by StyleCI Bot
parent 18f8ee155d
commit 3363dd6226
31 changed files with 1548 additions and 1557 deletions

View File

@@ -248,7 +248,7 @@ class Url
$domain .= $rootDomain;
}
break;
} else if (false !== strpos($key, '*')) {
} elseif (false !== strpos($key, '*')) {
if (!empty($rootDomain)) {
$domain .= $rootDomain;
}