Skip to content

Commit 5d8456f

Browse files
committed
minor #4955 Fixed wrong API link (dosten)
This PR was merged into the 2.3 branch. Discussion ---------- Fixed wrong API link | 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 `Response` class. Commits ------- 543bc30 Update introduction.rst
2 parents 0a85053 + 543bc30 commit 5d8456f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/http_foundation/introduction.rst

+1-1
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)