Skip to content

Commit 6e6588a

Browse files
committed
Merge pull request #2916 from rickpastoor/patch-1
Added a couple of missing semicolons
2 parents c15c2ee + b0492a4 commit 6e6588a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/http_foundation/introduction.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ abstracts the hard work behind a simple API::
449449
Alternatively, if you are serving a static file, you can use a
450450
:class:`Symfony\\Component\\HttpFoundation\\BinaryFileResponse`::
451451

452-
use Symfony\Component\HttpFoundation\BinaryFileResponse
452+
use Symfony\Component\HttpFoundation\BinaryFileResponse;
453453

454454
$file = 'path/to/file.txt';
455455
$response = new BinaryFileResponse($file);
@@ -465,7 +465,7 @@ if it should::
465465

466466
You can still set the ``Content-Type`` of the sent file, or change its ``Content-Disposition``::
467467

468-
$response->headers->set('Content-Type', 'text/plain')
468+
$response->headers->set('Content-Type', 'text/plain');
469469
$response->setContentDisposition(ResponseHeaderBag::DISPOSITION_ATTACHMENT, 'filename.txt');
470470

471471
.. _component-http-foundation-json-response:

0 commit comments

Comments
 (0)