0 && $port !== ($https ? 443 : 80)) { $authority .= ':' . $port; } return HttpOrigin::normalize($scheme . '://' . $authority); } }