Skip to content

Commit 9c4a042

Browse files
committed
minor #7235 Misused "tag" for "tags" (b0nd0)
This PR was submitted for the 3.2 branch but it was merged into the 2.7 branch instead (closes #7235). Discussion ---------- Misused "tag" for "tags" "tag" used in code, while "tags" used in description Commits ------- 59eec4c Misused "tag" for "tags"
2 parents 1c7ddc9 + 59eec4c commit 9c4a042

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -725,8 +725,8 @@ add the values to the raw data array::
725725
$values = $form->getPhpValues();
726726

727727
// Add fields to the raw values.
728-
$values['task']['tag'][0]['name'] = 'foo';
729-
$values['task']['tag'][1]['name'] = 'bar';
728+
$values['task']['tags'][0]['name'] = 'foo';
729+
$values['task']['tags'][1]['name'] = 'bar';
730730

731731
// Submit the form with the existing and new values.
732732
$crawler = $this->client->request($form->getMethod(), $form->getUri(), $values,

0 commit comments

Comments
 (0)