Skip to content

Commit 0251e93

Browse files
committed
bug #19317 Fix comma fopen http_client (ytilotti)
This PR was merged into the 6.3 branch. Discussion ---------- Fix comma fopen http_client <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- 8af822a Fix comma fopen http_client
2 parents 2c1c4b6 + 8af822a commit 0251e93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http_client.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ A generator or any ``Traversable`` can also be used instead of a closure.
619619

620620
To submit a form with file uploads, pass the file handle to the ``body`` option::
621621

622-
$fileHandle = fopen('/path/to/the/file' 'r');
622+
$fileHandle = fopen('/path/to/the/file', 'r');
623623
$client->request('POST', 'https://...', ['body' => ['the_file' => $fileHandle]]);
624624

625625
By default, this code will populate the filename and content-type with the data

0 commit comments

Comments
 (0)