Merge pull request #221 from beyondcode/analysis-gOJRbw

Apply fixes from StyleCI
This commit is contained in:
Marcel Pociot authored and GitHub committed 2021-06-02 12:34:58 +02:00
commit 8664d7ea80
1 file changed
+1 -1
@@ -120,7 +120,7 @@ class TunnelMessageController extends Controller
{ {
$request::setTrustedProxies([$controlConnection->socket->remoteAddress, '127.0.0.1'], Request::HEADER_X_FORWARDED_ALL); $request::setTrustedProxies([$controlConnection->socket->remoteAddress, '127.0.0.1'], Request::HEADER_X_FORWARDED_ALL);
$host = $controlConnection->serverHost;; $host = $controlConnection->serverHost;
if (! $request->isSecure()) { if (! $request->isSecure()) {
$host .= ":{$this->configuration->port()}"; $host .= ":{$this->configuration->port()}";