Skip to content

Commit 14b0c47

Browse files
committed
Merge branch '2.3' into 2.4
2 parents 2cbca5f + 34eceb1 commit 14b0c47

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

book/routing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1258,7 +1258,7 @@ route. With this information, any URL can easily be generated::
12581258
:class:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller`,
12591259
you can use the
12601260
:method:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller::generateUrl`
1261-
method, which call's the router service's
1261+
method, which calls the router service's
12621262
:method:`Symfony\\Component\\Routing\\Router::generate` method.
12631263

12641264
In an upcoming section, you'll learn how to generate URLs from inside templates.

book/security.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ the trusted reverse proxy cache.
902902
does not restrict to a specific IP address. Instead, using the ``ip``
903903
key means that the ``access_control`` entry will only match this IP address,
904904
and users accessing it from a different IP address will continue down
905-
the ``acces_control`` list.
905+
the ``access_control`` list.
906906

907907
Here is an example of how you might secure all ESI routes that start with a
908908
given prefix, ``/esi``, from outside access:
@@ -1653,7 +1653,7 @@ Roles
16531653

16541654
The idea of a "role" is key to the authorization process. Each user is assigned
16551655
a set of roles and then each resource requires one or more roles. If the user
1656-
has the required roles, access is granted. Otherwise access is denied.
1656+
has any one of the required roles, access is granted. Otherwise access is denied.
16571657

16581658
Roles are pretty simple, and are basically strings that you can invent and
16591659
use as needed (though roles are objects internally). For example, if you

reference/constraints/Valid.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ an ``Address`` instance in the ``$address`` property.
3434
.. code-block:: php
3535
3636
// src/Acme/HelloBundle/Entity/Author.php
37-
namespace Amce\HelloBundle\Entity;
37+
namespace Acme\HelloBundle\Entity;
3838
3939
class Author
4040
{

0 commit comments

Comments
 (0)