Skip to content

Commit 10e6f05

Browse files
committed
Merge branch '2.5'
* 2.5: Fix spelling Changed to reference the correct twig template Fix spelling Fix PropertyAccessorBuilder usage
2 parents 6405a21 + bbcb866 commit 10e6f05

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

components/property_access/introduction.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ enable this feature by using :class:`Symfony\\Component\\PropertyAccess\\Propert
205205
$person = new Person();
206206

207207
// Enable magic __call
208-
$accessor = PropertyAccess::getPropertyAccessorBuilder()
208+
$accessor = PropertyAccess::createPropertyAccessorBuilder()
209209
->enableMagicCall()
210210
->getPropertyAccessor();
211211

@@ -301,7 +301,7 @@ see `Enable other Features`_.
301301
$person = new Person();
302302
303303
// Enable magic __call
304-
$accessor = PropertyAccess::getPropertyAccessorBuilder()
304+
$accessor = PropertyAccess::createPropertyAccessorBuilder()
305305
->enableMagicCall()
306306
->getPropertyAccessor();
307307

cookbook/configuration/web_server_configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ the FastCGI process manager ``php-fpm`` binary and Apache's FastCGI module
8989
installed (for example, on a Debian based system you have to install the
9090
``libapache2-mod-fastcgi`` and ``php5-fpm`` packages).
9191

92-
PHP-FPM uses so called *pools* to handle incoming FastCGI requests. You can
92+
PHP-FPM uses so-called *pools* to handle incoming FastCGI requests. You can
9393
configure an arbitrary number of pools in the FPM configuration. In a pool
9494
you configure either a TCP socket (IP and port) or a unix domain socket to
9595
listen on. Each pool can also be run under a different UID and GID:

quick_tour/the_view.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ First, create an ``embedded.html.twig`` template:
157157
{# src/Acme/DemoBundle/Resources/views/Demo/embedded.html.twig #}
158158
Hello {{ name }}
159159
160-
And change the ``index.html.twig`` template to include it:
160+
And change the ``hello.html.twig`` template to include it:
161161

162162
.. code-block:: jinja
163163

0 commit comments

Comments
 (0)