From 828fba4e1d7ea7636ba7d2c183b0ca9bf4c82b43 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Wed, 27 Jan 2016 11:46:45 +0100 Subject: [PATCH] fixed CS --- src/Symfony/Component/BrowserKit/Client.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Symfony/Component/BrowserKit/Client.php b/src/Symfony/Component/BrowserKit/Client.php index 54c967cb89..3fe681434c 100644 --- a/src/Symfony/Component/BrowserKit/Client.php +++ b/src/Symfony/Component/BrowserKit/Client.php @@ -283,8 +283,9 @@ abstract class Client } if (empty($server['HTTP_HOST'])) { - $server['HTTP_HOST'] = $this->extractHost($uri); + $server['HTTP_HOST'] = $this->extractHost($uri); } + $server['HTTPS'] = 'https' == parse_url($uri, PHP_URL_SCHEME); $this->internalRequest = new Request($uri, $method, $parameters, $files, $this->cookieJar->allValues($uri), $server, $content);