Skip to content

Commit 8cfb8e0

Browse files
mvhirschxabbuh
authored andcommitted
[DomCrawler] fixes typo Form::getFields() -> Form::getFiles()
1 parent 78d9957 commit 8cfb8e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ The second optional argument is used to override the default form field values.
917917

918918
If you need access to the :class:`Symfony\\Component\\DomCrawler\\Form` object
919919
that provides helpful methods specific to forms (such as ``getUri()``,
920-
``getValues()`` and ``getFields()``) use the ``Crawler::selectButton()`` method instead::
920+
``getValues()`` and ``getFiles()``) use the ``Crawler::selectButton()`` method instead::
921921

922922
$client = static::createClient();
923923
$crawler = $client->request('GET', '/post/hello-world');

0 commit comments

Comments
 (0)