Skip to content

Commit 59eec4c

Browse files
b0nd0xabbuh
authored andcommitted
Misused "tag" for "tags"
"tag" used in code, while "tags" used in description
1 parent 1c7ddc9 commit 59eec4c

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)