Skip to content

Commit

Permalink
CS fixes in pre-existing code.
Browse files Browse the repository at this point in the history
  • Loading branch information
afilina committed Feb 22, 2020
1 parent 3aa9d1b commit 3c2dc58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Symfony/Component/BrowserKit/AbstractBrowser.php
Expand Up @@ -653,7 +653,8 @@ protected function getAbsoluteUri(string $uri)
if (!$this->history->isEmpty()) {
$currentUri = $this->history->current()->getUri();
} else {
$currentUri = sprintf('http%s://%s/',
$currentUri = sprintf(
'http%s://%s/',
isset($this->server['HTTPS']) ? 's' : '',
isset($this->server['HTTP_HOST']) ? $this->server['HTTP_HOST'] : 'localhost'
);
Expand Down

0 comments on commit 3c2dc58

Please sign in to comment.