Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 393be9c

Browse files
committed
Merge branch 'hotfix/291'
Close #291
2 parents e8d3704 + 43201f6 commit 393be9c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/ServerRequestFactory.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,7 @@ public static function marshalUriFromServer(array $server, array $headers)
244244
) {
245245
$scheme = 'https';
246246
}
247-
if (! empty($scheme)) {
248-
$uri = $uri->withScheme($scheme);
249-
}
247+
$uri = $uri->withScheme($scheme);
250248

251249
// Set the host
252250
$accumulator = (object) ['host' => '', 'port' => null];

0 commit comments

Comments
 (0)