Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b73f401

Browse filesBrowse files
committed
Nico's review
1 parent f7c364f commit b73f401
Copy full SHA for b73f401

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/BrowserKit/Client.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/BrowserKit/Client.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ public function click(Link $link)
293293
public function submit(Form $form, array $values = array()/*, array $serverParameters = array()*/)
294294
{
295295
$form->setValues($values);
296-
$serverParameters = 3 === \func_num_args() ? func_get_arg(2) : array();
296+
$serverParameters = 2 < \func_num_args() ? func_get_arg(2) : array();
297297

298298
return $this->request($form->getMethod(), $form->getUri(), $form->getPhpValues(), $form->getPhpFiles(), $serverParameters);
299299
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.