File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -890,7 +890,7 @@ response sequentially instead of waiting for the entire response::
890
890
``php://temp `` stream. You can control this behavior by using the ``buffer ``
891
891
option: set it to ``true ``/``false `` to enable/disable buffering, or to a
892
892
closure that should return the same based on the response headers it receives
893
- as argument.
893
+ as an argument.
894
894
895
895
Canceling Responses
896
896
~~~~~~~~~~~~~~~~~~~
@@ -1064,7 +1064,7 @@ method will yield a special chunk whose ``isTimeout()`` will return ``true``::
1064
1064
1065
1065
foreach ($client->stream($responses, 1.5) as $response => $chunk) {
1066
1066
if ($chunk->isTimeout()) {
1067
- // $response staled for more than 1.5 seconds
1067
+ // $response stale for more than 1.5 seconds
1068
1068
}
1069
1069
}
1070
1070
You can’t perform that action at this time.
0 commit comments