File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -501,7 +501,7 @@ into your Symfony application::
501
501
502
502
$crawler = $client->request('GET', '/post/hello-world');
503
503
504
- The `` request() ` ` method takes the HTTP method and a URL as arguments and
504
+ The :method: ` request() <Symfony \\ Component \\ BrowserKit \\ AbstractBrowser::request> ` method takes the HTTP method and a URL as arguments and
505
505
returns a ``Crawler `` instance.
506
506
507
507
.. tip ::
@@ -513,14 +513,14 @@ returns a ``Crawler`` instance.
513
513
The full signature of the ``request() `` method is::
514
514
515
515
request(
516
- $method,
517
- $uri,
516
+ string $method,
517
+ string $uri,
518
518
array $parameters = [],
519
519
array $files = [],
520
520
array $server = [],
521
- $content = null,
522
- $changeHistory = true
523
- )
521
+ string $content = null,
522
+ bool $changeHistory = true
523
+ ): Crawler
524
524
525
525
This allows you to create all types of requests you can think of:
526
526
You can’t perform that action at this time.
0 commit comments