Skip to content

Commit 259ee0e

Browse files
submitSymfonyForm(): Mentioning name attribute (#128)
1 parent bfc25c7 commit 259ee0e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Codeception/Module/Symfony/BrowserAssertionsTrait.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ public function seePageRedirectsTo(string $page, string $redirectsTo): void
8383
/**
8484
* Submit a form specifying the form name only once.
8585
*
86-
* Use this function instead of $I->submitForm() to avoid repeating the form name in the field selectors.
87-
* If you customized the names of the field selectors use $I->submitForm() for full control.
86+
* Use this function instead of [`$I->submitForm()`](#submitForm) to avoid repeating the form name in the field selectors.
87+
* If you customized the names of the field selectors use `$I->submitForm()` for full control.
8888
*
8989
* ```php
9090
* <?php
@@ -94,7 +94,7 @@ public function seePageRedirectsTo(string $page, string $redirectsTo): void
9494
* ]);
9595
* ```
9696
*
97-
* @param string $name
97+
* @param string $name The `name` attribute of the `<form>` (you cannot use an array as selector here)
9898
* @param string[] $fields
9999
*/
100100
public function submitSymfonyForm(string $name, array $fields): void

0 commit comments

Comments
 (0)