8000 Fix typos in psr7.rst · symfony/symfony-docs@03cb268 · GitHub
[go: up one dir, main page]

Skip to content

Commit 03cb268

Browse files
authored
Fix typos in psr7.rst
1 parent 2c6c5da commit 03cb268

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

components/psr7.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ The bridge provides an interface of a factory called
3535
that builds objects implementing PSR-7 interfaces from HttpFoundation objects.
3636
It also provide a default implementation using Zend Diactoros internally.
3737

38-
The following code snippet explain how to convert a :class:`Symfony\\Component\\HttpFoundation\\Request`
39-
to a ``Zend\\Diactoros\\ServerRequest`` class implementing the
40-
``Psr\\Http\\Message\\ServerRequestInterface`` interface::
38+
The following code snippet explains how to convert a :class:`Symfony\\Component\\HttpFoundation\\Request`
39+
to a ``Zend\Diactoros\ServerRequest`` class implementing the
40+
``Psr\Http\Message\ServerRequestInterface`` interface::
4141

4242
use Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory;
4343
use Symfony\Component\HttpFoundation\Request;
@@ -49,8 +49,8 @@ to a ``Zend\\Diactoros\\ServerRequest`` class implementing the
4949
$psrRequest = $psr7Factory->createRequest($symfonyRequest);
5050

5151
And now from a :class:`Symfony\\Component\\HttpFoundation\\Response` to a
52-
``Zend\\Diactoros\\Response`` class implementing the
53-
``Psr\\Http\\Message\\ResponseInterface`` interface::
52+
``Zend\Diactoros\Response`` class implementing the
53+
``Psr\Http\Message\ResponseInterface`` interface::
5454

5555
use Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory;
5656
use Symfony\Component\HttpFoundation\Response;
@@ -68,7 +68,7 @@ On the other hand, the bridge provide a factory interface called
6868
that builds HttpFoundation objects from objects implementing PSR-7 interfaces.
6969

7070
The next snippet explain how to convert an object implementing the
71-
``Psr\\Http\\Message\\ServerRequestInterface`` interface to a
71+
``Psr\Http\Message\ServerRequestInterface`` interface to a
7272
:class:`Symfony\\Component\\HttpFoundation\\Request` instance::
7373

7474
use Symfony\Bridge\PsrHttpMessage\Factory\HttpFoundationFactory;
@@ -78,7 +78,7 @@ The next snippet explain how to convert an object implementing the
7878
$httpFoundationFactory = new HttpFoundationFactory();
7979
$symfonyRequest = $httpFoundationFactory->createRequest($psrRequest);
8080

81-
From an object implementing the ``Psr\\Http\\Message\\ResponseInterface``
81+
From an object implementing the ``Psr\Http\Message\ResponseInterface``
8282
to a :class:`Symfony\\Component\\HttpFoundation\\Response` instance::
8383

8484
use Symfony\Bridge\PsrHttpMessage\Factory\HttpFoundationFactory;

0 commit comments

Comments
 (0)
0