Skip to content

Commit 0a4e151

Browse files
committed
Fix CS
1 parent 3b22d27 commit 0a4e151

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Test/Constraint/ResponseHeaderLocationSame.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ private function toFullUrl(string $url): string
5353
}
5454

5555
if (str_starts_with($url, '//')) {
56-
return "{$this->request->getScheme()}:{$url}";
56+
return sprintf('%s:%s', $this->request->getScheme(), $url);
5757
}
5858

5959
if (str_starts_with($url, '/')) {
60-
return "{$this->request->getSchemeAndHttpHost()}{$url}";
60+
return $this->request->getSchemeAndHttpHost().$url;
6161
}
6262

6363
return $url;

0 commit comments

Comments
 (0)