Skip to content

Commit 791fcf4

Browse files
committed
Fix parse error
1 parent db3ed0e commit 791fcf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Bridges/HttpKernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ protected static function mapRequest(ReactRequest $reactRequest, $content)
111111
$post = array();
112112

113113
// parse body?
114-
if (isset($headers['Content-Type']) && (0 === strpos($headers['Content-Type'], 'application/x-www-form-urlencoded')
114+
if (isset($headers['Content-Type']) && (0 === strpos($headers['Content-Type'], 'application/x-www-form-urlencoded'))
115115
&& in_array(strtoupper($method), array('PUT', 'DELETE', 'PATCH'))
116116
) {
117117
parse_str($content, $post);

0 commit comments

Comments
 (0)