Skip to content

Commit ad7c1dc

Browse files
committed
Merge remote-tracking branch 'origin/2.3' into 2.3
2 parents a5a1b16 + 2458f83 commit ad7c1dc

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

cookbook/form/unit_testing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ test the core types and you can use it to test your types too.
2323
.. versionadded:: 2.3
2424
The ``TypeTestCase`` has moved to the ``Symfony\Component\Form\Test``
2525
namespace in 2.3. Previously, the class was located in
26-
``Symfony\Component\Form\Tests\Core\Extension\Type``.
26+
``Symfony\Component\Form\Tests\Extension\Core\Type``.
2727

2828
The Basics
2929
----------

cookbook/service_container/scopes.rst

+5-4
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,11 @@ your code. This should also be taken into account when declaring your service:
157157
<services>
158158
<service id="greeting_card_manager"
159159
class="Acme\HelloBundle\Mail\GreetingCardManager"
160-
/>
161-
<call method="setRequest">
162-
<argument type="service" id="request" on-invalid="null" strict="false" />
163-
</call>
160+
>
161+
<call method="setRequest">
162+
<argument type="service" id="request" on-invalid="null" strict="false" />
163+
</call>
164+
</service>
164165
</services>
165166
166167
.. code-block:: php

cookbook/session/php_bridge.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
single: Sessions
33

44
Bridge a legacy application with Symfony Sessions
5-
-------------------------------------------------
5+
=================================================
66

77
.. versionadded:: 2.3
88
The ability to integrate with a legacy PHP session was added in Symfony 2.3.

reference/forms/types/country.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ choices
5050

5151
**default**: ``Symfony\Component\Intl\Intl::getRegionBundle()->getCountryNames()``
5252

53-
The country type defaults the ``choices`` option to the all locales.
54-
It uses the default locale to determine the language.
53+
The country type defaults the ``choices`` option to the whole list of countries.
54+
The locale is used to translate the countries names.
5555

5656
Inherited options
5757
-----------------

reference/forms/types/language.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ choices
5151

5252
**default**: ``Symfony\Component\Intl\Intl::getLanguageBundle()->getLanguageNames()``.
5353

54-
The choices option defaults to all languages. It uses the default locale to
55-
specify the language.
54+
The choices option defaults to all languages.
55+
The default locale is used to translate the languages names.
5656

5757
Inherited Options
5858
-----------------

0 commit comments

Comments
 (0)