8000 Update introduction.rst · symfony/symfony-docs@543bc30 · GitHub
[go: up one dir, main page]

Skip to content

Commit 543bc30

Browse files
committed
Update introduction.rst
| Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all since 2.3 | Fixed tickets | - The `makeDisposition` method is in the `ResponseHeaderBag` class, not in the `ResponseHeaderBag` class.
1 parent 208904a commit 543bc30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/http_foundation/introduction.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ Serving Files
439439
When sending a file, you must add a ``Content-Disposition`` header to your
440440
response. While creating this header for basic file downloads is easy, using
441441
non-ASCII filenames is more involving. The
442-
:method:`Symfony\\Component\\HttpFoundation\\Response::makeDisposition`
442+
:method:`Symfony\\Component\\HttpFoundation\\ResponseHeaderBag::makeDisposition`
443443
abstracts the hard work behind a simple API::
444444

445445
use Symfony\Component\HttpFoundation\ResponseHeaderBag;

0 commit comments

Comments
 (0)
0