We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abfe83a commit d14adacCopy full SHA for d14adac
src/Symfony/Component/BrowserKit/HttpBrowser.php
@@ -61,7 +61,7 @@ protected function doRequest($request): Response
61
*/
62
private function getBodyAndExtraHeaders(Request $request, array $headers): array
63
{
64
- if (($request->getMethod() == 'GET' && !isset($headers['content-type'])) || $request->getMethod() == 'HEAD') {
+ if (('GET' == $request->getMethod() && !isset($headers['content-type'])) || 'HEAD' == $request->getMethod()) {
65
return ['', []];
66
}
67
0 commit comments