8000 Fix CS · symfony/symfony@e73dff3 · GitHub
[go: up one dir, main page]

Skip to content

Commit e73dff3

Browse files
committed
Fix CS
1 parent 0f8efc1 commit e73dff3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/HttpFoundation/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)
0