File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -798,7 +798,7 @@ following methods::
798
798
// gets the response body as a string
799
799
$content = $response->getContent();
800
800
801
- // casts the response JSON contents to a PHP array
801
+ // casts the response JSON content to a PHP array
802
802
$content = $response->toArray();
803
803
804
804
// casts the response content to a PHP stream resource
@@ -842,7 +842,7 @@ response sequentially instead of waiting for the entire response::
842
842
throw new \Exception('...');
843
843
}
844
844
845
- // get the response contents in chunk and save them in a file
845
+ // get the response content in chunks and save them in a file
846
846
// response chunks implement Symfony\Contracts\HttpClient\ChunkInterface
847
847
$fileHandler = fopen('/ubuntu.iso', 'w');
848
848
foreach ($client->stream($response) as $chunk) {
You can’t perform that action at this time.
0 commit comments