Skip to content

Commit 0848604

Browse files
committed
[HttpFoundation] fixed typo
1 parent 08846af commit 0848604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpFoundation/Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ static public function createFromGlobals()
130130
$request = new static($_GET, $_POST, array(), $_COOKIE, $_FILES, $_SERVER);
131131

132132
if ('application/x-www-form-urlencoded' == $request->server->get('CONTENT_TYPE')
133-
&& in_array(strtoupper($request->server->get('REQUEST_METHOD', 'GET'), array('PUT', 'DELETE'))
133+
&& in_array(strtoupper($request->server->get('REQUEST_METHOD', 'GET')), array('PUT', 'DELETE'))
134134
) {
135135
parse_str($this->getContent(), $data);
136136
$request->request = new ParameterBag($data);

0 commit comments

Comments
 (0)