Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2dfac2a

Browse files
committed
fixed typo
1 parent f455700 commit 2dfac2a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Symfony/Component/HttpFoundation/ServerBag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function getHeaders()
2424
$headers = array();
2525
foreach ($this->parameters as $key => $value) {
2626
if ('HTTP_' === substr($key, 0, 5)) {
27-
$headers[strtolower(substr($key, 5))] = $value;
27+
$headers[substr($key, 5)] = $value;
2828
}
2929
}
3030

src/Symfony/Component/HttpKernel/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ public function getHeaders()
954954
$headers = array();
955955
foreach ($this->parameters as $key => $value) {
956956
if ('HTTP_' === substr($key, 0, 5)) {
957-
$headers[strtolower(substr($key, 5))] = $value;
957+
$headers[substr($key, 5)] = $value;
958958
}
959959
}
960960
return $headers;

src/Symfony/Component/HttpKernel/bootstrap_cache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,7 @@ public function getHeaders()
11801180
$headers = array();
11811181
foreach ($this->parameters as $key => $value) {
11821182
if ('HTTP_' === substr($key, 0, 5)) {
1183-
$headers[strtolower(substr($key, 5))] = $value;
1183+
$headers[substr($key, 5)] = $value;
11841184
}
11851185
}
11861186
return $headers;

0 commit comments

Comments
 (0)