Apply fixes from StyleCI

This commit is contained in:
Marcel Pociot
2021-06-02 10:34:52 +00:00
committed by StyleCI Bot
parent b9719ea420
commit d4dbdba4c6

View File

@@ -120,7 +120,7 @@ class TunnelMessageController extends Controller
{
$request::setTrustedProxies([$controlConnection->socket->remoteAddress, '127.0.0.1'], Request::HEADER_X_FORWARDED_ALL);
$host = $controlConnection->serverHost;;
$host = $controlConnection->serverHost;
if (! $request->isSecure()) {
$host .= ":{$this->configuration->port()}";