Skip to content

Commit 9826412

Browse files
committed
Merge branch '5.2' into 5.x
* 5.2: Remove white space Minor: Fix quotes Minor: Remove extra space in the config example Restore version-added in string
2 parents 52b149e + c050876 commit 9826412

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

components/serializer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ defines a ``Person`` entity with a ``firstName`` property:
681681
This custom mapping is used to convert property names when serializing and
682682
deserializing objects::
683683

684-
$serialized = $serializer->serialize(new Person("Kévin"), 'json');
684+
$serialized = $serializer->serialize(new Person('Kévin'), 'json');
685685
// {"customer_name": "Kévin"}
686686

687687
Serializing Boolean Attributes

components/string.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ The String Component
88
The String component provides a single object-oriented API to work with
99
three "unit systems" of strings: bytes, code points and grapheme clusters.
1010

11+
.. versionadded:: 5.0
12+
13+
The String component was introduced in Symfony 5.0.
14+
1115
Installation
1216
------------
1317

configuration/using_parameters_in_dic.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ be injected with this parameter via the extension as follows::
106106
{
107107
private $debug;
108108

109-
public function __construct($debug)
109+
public function __construct($debug)
110110
{
111111
$this->debug = (bool) $debug;
112112
}

mailer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,7 @@ you have a transport called ``async``, you can route the message there:
10461046
async: "%env(MESSENGER_TRANSPORT_DSN)%"
10471047
10481048
routing:
1049-
'Symfony\Component\Mailer\Messenger\SendEmailMessage': async
1049+
'Symfony\Component\Mailer\Messenger\SendEmailMessage': async
10501050
10511051
.. code-block:: xml
10521052

0 commit comments

Comments
 (0)