File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -2388,7 +2388,6 @@ given setting applied.
2388
2388
The ` withHeader(string $header, string $value): Browser ` method can be used to
2389
2389
add a request header for all following requests.
2390
2390
``` php
2391
- $browser->get($url)->then(function (Psr\Http\Message\ResponseInterface $response) {
2392
2391
var_dump($response);
2393
2392
}, function (Exception $e) {
2394
2393
echo 'Error: ' . $e->getMessage() . PHP_EOL;
@@ -2406,7 +2405,6 @@ remove any default request headers previously set via
2406
2405
the [ ` withHeader() ` method] ( #withheader ) .
2407
2406
2408
2407
``` php
2409
- $browser->get($url)->then(function (Psr\Http\Message\ResponseInterface $response) {
2410
2408
var_dump($response);
2411
2409
}, function (Exception $e) {
2412
2410
echo 'Error: ' . $e->getMessage() . PHP_EOL;
You can’t perform that action at this time.
0 commit comments