Skip to content

Commit

Permalink
Update src/Browser.php
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Frings <simon.frings1@web.de>
  • Loading branch information
51imyyy and SimonFrings committed Sep 1, 2022
1 parent a9ee9f6 commit 0912adc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Browser.php
Expand Up @@ -766,10 +766,10 @@ public function withHeader($header, $value)
* $browser = $browser->withoutHeader('User-Agent');
*
* $browser->get($url)->then(function (Psr\Http\Message\ResponseInterface $response) {
* //won't contain the User-Agent header
* var_dump($response);
* //won't contain the User-Agent header
* var_dump($response);
* }, function (Exception $e) {
* echo 'Error: ' . $e->getMessage() . PHP_EOL;
* echo 'Error: ' . $e->getMessage() . PHP_EOL;
* });
* ```
*
Expand Down

0 comments on commit 0912adc

Please sign in to comment.