Increase HttpBrowser::getHeaders() visibility to protected
Resolves symfony/symfony#38051
This commit is contained in:
parent
174d91c23b
commit
3d75ab515f
@ -94,7 +94,7 @@ class HttpBrowser extends AbstractBrowser
|
|||||||
return [http_build_query($fields, '', '&', \PHP_QUERY_RFC1738), ['Content-Type' => 'application/x-www-form-urlencoded']];
|
return [http_build_query($fields, '', '&', \PHP_QUERY_RFC1738), ['Content-Type' => 'application/x-www-form-urlencoded']];
|
||||||
}
|
}
|
||||||
|
|
||||||
private function getHeaders(Request $request): array
|
protected function getHeaders(Request $request): array
|
||||||
{
|
{
|
||||||
$headers = [];
|
$headers = [];
|
||||||
foreach ($request->getServer() as $key => $value) {
|
foreach ($request->getServer() as $key => $value) {
|
||||||
|
Reference in New Issue
Block a user