Skip to content

Commit 131722a

Browse files
cminovicixabbuh
authored andcommitted
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
1 parent 98e9e1e commit 131722a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/browser_kit.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ into the client constructor::
187187
$cookieJar = new Cookie('flavor', 'chocolate', strtotime('+1 day'));
188188

189189
// create a client and set the cookies
190-
$client = new Client(array(), array(), $cookieJar);
190+
$client = new Client(array(), null, $cookieJar);
191191
// ...
192192

193193
History

0 commit comments

Comments
 (0)