From 6358831adceb5ce5aff9c9900fdc9823a858e383 Mon Sep 17 00:00:00 2001 From: Catalin Minovici Date: Wed, 15 Feb 2017 10:26:11 -0500 Subject: [PATCH] Replace array with null Argument 2 passed to Symfony\Component\BrowserKit\Client::__construct() must be an instance of Symfony\Component\BrowserKit\History or null, array given --- components/browser_kit.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/browser_kit.rst b/components/browser_kit.rst index 53c384bf31c..511a1525456 100644 --- a/components/browser_kit.rst +++ b/components/browser_kit.rst @@ -188,7 +188,7 @@ into the client constructor:: $cookieJar = new Cookie('flavor', 'chocolate', strtotime('+1 day')); // create a client and set the cookies - $client = new Client(array(), array(), $cookieJar); + $client = new Client(array(), null, $cookieJar); // ... History