From 3d75ab515f81502044b21d24e6eb62449e638986 Mon Sep 17 00:00:00 2001 From: Ian Littman Date: Thu, 3 Sep 2020 22:08:06 -0500 Subject: [PATCH] Increase HttpBrowser::getHeaders() visibility to protected Resolves symfony/symfony#38051 --- src/Symfony/Component/BrowserKit/HttpBrowser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/BrowserKit/HttpBrowser.php b/src/Symfony/Component/BrowserKit/HttpBrowser.php index 6f5749c2642a8..0ad87b5c33a62 100644 --- a/src/Symfony/Component/BrowserKit/HttpBrowser.php +++ b/src/Symfony/Component/BrowserKit/HttpBrowser.php @@ -94,7 +94,7 @@ private function getBodyAndExtraHeaders(Request $request, array $headers): array 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 = []; foreach ($request->getServer() as $key => $value) { pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy