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 3e29798 commit a9ee9f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Browser.php
Expand Up @@ -735,10 +735,10 @@ public function withResponseBuffer($maximumSize)
* $browser = $browser->withHeader('User-Agent', 'ACME');
*
* $browser->get($url)->then(function (Psr\Http\Message\ResponseInterface $response) {
* //will contain the header User-Agent with the value ACME
* var_dump($response);
* //will contain the header User-Agent with the value ACME
* var_dump($response);
* }, function (Exception $e) {
* echo 'Error: ' . $e->getMessage() . PHP_EOL;
* echo 'Error: ' . $e->getMessage() . PHP_EOL;
* });
* ```
*
Expand Down

0 comments on commit a9ee9f6

Please sign in to comment.