Skip to content

Commit 7c2e9b0

Browse files
authored
[HttpClient] Fixed missing parenthesis
[HttpClient] Fixed missing parenthesis in Progress callback example
1 parent 56d4cce commit 7c2e9b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/http_client.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ called when new data is uploaded or downloaded and at least once per second::
290290
// $dlSize is the total size to be downloaded or -1 if it is unknown
291291
// $info is what $response->getInfo() would return at this very time
292292
},
293-
];
293+
]);
294294

295295
Any exceptions thrown from the callback will be wrapped in an instance of
296296
``TransportExceptionInterface`` and will abort the request.

0 commit comments

Comments
 (0)