Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d3aacea

Browse filesBrowse files
committed
Fix Content-Type key in createRequest method
1 parent b41fd41 commit d3aacea
Copy full SHA for d3aacea

1 file changed

+1-1Lines changed: 1 addition & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/Symfony/Component/Webhook/Test/AbstractRequestParserTestCase.php‎

Copy file name to clipboardExpand all lines: src/Symfony/Component/Webhook/Test/AbstractRequestParserTestCase.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ protected function getSecret(): string
5858
protected function createRequest(string $payload): Request
5959
{
6060
return Request::create('/', 'POST', [], [], [], [
61-
'Content-Type' => 'application/json',
61+
'CONTENT_TYPE' => 'application/json',
6262
], $payload);
6363
}
6464

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.