From a9ee9f6ac22727a4c6ce54f403d57441425eeae1 Mon Sep 17 00:00:00 2001 From: 51imyy <83275941+51imyy@users.noreply.github.com> Date: Thu, 1 Sep 2022 11:56:42 +0200 Subject: [PATCH] Update src/Browser.php Co-authored-by: Simon Frings --- src/Browser.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Browser.php b/src/Browser.php index 92575955..269b7395 100644 --- a/src/Browser.php +++ b/src/Browser.php @@ -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; * }); * ``` *