Skip to content

Commit acea751

Browse files
committed
minor #7501 Replace array with null (cminovici)
This PR was submitted for the 3.2 branch but it was merged into the 2.7 branch instead (closes #7501). Discussion ---------- 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 Commits ------- 131722a Replace array with null
2 parents 98e9e1e + 131722a commit acea751

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)