From 5b6a2a4f5fc731a7142a28c0e47131b889387760 Mon Sep 17 00:00:00 2001 From: Joost van Driel Date: Thu, 27 Oct 2016 16:48:08 +0200 Subject: [PATCH] Added missing square bracket --- docs/request-options.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/request-options.rst b/docs/request-options.rst index fe2c583a..bdbb3cab 100644 --- a/docs/request-options.rst +++ b/docs/request-options.rst @@ -462,7 +462,7 @@ created by the client (e.g., ``request()`` and ``requestAsync()``). // Sets the X-Foo header to "test", which prevents the default header // from being applied. - $client->request('GET', '/get', ['headers' => ['X-Foo' => 'test']); + $client->request('GET', '/get', ['headers' => ['X-Foo' => 'test']]); // Will disable adding in default headers. $client->request('GET', '/get', ['headers' => null]);