Skip to content

Commit

Permalink
Fix codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
Maz committed Oct 4, 2024
1 parent 0ce5a15 commit 4e023b3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Http/Client/PendingRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1017,11 +1017,11 @@ protected function parseMultipartBodyFormat(array $data)

$extendedFields = $extendedFields->merge(
array_map(function ($field) {
list($name, $field) = explode('=', $field);
[$name, $field] = explode('=', $field);

return [
'name' => urldecode($name),
'contents' => urldecode($field)
'contents' => urldecode($field),
];
}, $simpleFieldsAsQuery)
);
Expand Down
10 changes: 5 additions & 5 deletions tests/Http/HttpClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -720,13 +720,13 @@ public function testCanSendDeeplyNestedArrayMultipartData()
'foobar' => [
'foo' => [
[
'name' => 'baz'
'name' => 'baz',
],
[
'name' => 'foobar'
]
]
]
'name' => 'foobar',
],
],
],
]);

$this->factory->assertSent(function (Request $request) {
Expand Down

0 comments on commit 4e023b3

Please sign in to comment.