Skip to content

Commit 7eea193

Browse files
committed
Merge branch '6.2' into 6.3
* 6.2: Fix: Build
2 parents 19ad225 + 7c64f45 commit 7eea193

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

configuration/env_var_processors.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -753,9 +753,7 @@ Symfony provides the following env var processors:
753753
754754
``env(enum:FooEnum:BAR)``
755755
Tries to convert an environment variable to an actual ``\BackedEnum`` value.
756-
This processor takes the fully qualified name of the ``\BackedEnum`` as an argument.
757-
758-
.. code-block:: php
756+
This processor takes the fully qualified name of the ``\BackedEnum`` as an argument::
759757

760758
# App\Enum\Environment
761759
enum Environment: string

controller/value_resolver.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,7 @@ instance, which contains all information from the method signature.
232232
The ``resolve()`` method should return either an empty array (if it cannot resolve
233233
this argument) or an array with the resolved value(s). Usually arguments are
234234
resolved as a single value, but variadic arguments require resolving multiple
235-
values. That's why you must always return an array, even for single values:
236-
237-
.. code-block:: php
235+
values. That's why you must always return an array, even for single values::
238236

239237
// src/ValueResolver/IdentifierValueResolver.php
240238
namespace App\ValueResolver;

serializer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ configuration:
145145
.. code-block:: php
146146
147147
// config/packages/framework.php
148-
use Symfony\Component\Serializer\Normalizer\AbstractObjectNormalizer;
149148
use Symfony\Component\Serializer\Encoder\YamlEncoder;
149+
use Symfony\Component\Serializer\Normalizer\AbstractObjectNormalizer;
150150
use Symfony\Config\FrameworkConfig;
151151
152152
return static function (FrameworkConfig $framework) {

0 commit comments

Comments
 (0)