Skip to content

Commit 0d99409

Browse files
committed
Minor tweaks
1 parent 1719154 commit 0d99409

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

configuration/env_var_processors.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -378,9 +378,9 @@ Symfony provides the following env var processors:
378378
$container->setParameter('env(TRUSTED_HOSTS)', '10.0.0.1,10.0.0.2');
379379
$framework->trustedHosts(env('TRUSTED_HOSTS')->csv());
380380
};
381+
381382
``env(shuffle:FOO)``
382-
Randomly shuffles values of ``FOO``, which is an array.
383-
Usable when combining with other processors, as array is a prerequisite.
383+
Randomly shuffles values of the ``FOO`` env var, which must be an array.
384384

385385
.. configuration-block::
386386

@@ -428,9 +428,9 @@ Symfony provides the following env var processors:
428428
->set(\RedisCluster::class, \RedisCluster::class)->args([null, '%env(shuffle:csv:REDIS_NODES)%']);
429429
};
430430
431-
.. versionadded:: 6.2
431+
.. versionadded:: 6.2
432432

433-
The ``env(shuffle:...)`` env var processor was introduced in Symfony 6.2.
433+
The ``env(shuffle:...)`` env var processor was introduced in Symfony 6.2.
434434

435435
``env(file:FOO)``
436436
Returns the contents of a file whose path is the value of the ``FOO`` env var:
@@ -794,9 +794,9 @@ Symfony provides the following env var processors:
794794
// config/services.php
795795
$container->setParameter('typed_env', '%env(enum:App\Enum\Environment:APP_ENV)%');
796796
797-
.. versionadded:: 6.2
797+
.. versionadded:: 6.2
798798

799-
The ``env(enum:...)`` env var processor was introduced in Symfony 6.2.
799+
The ``env(enum:...)`` env var processor was introduced in Symfony 6.2.
800800

801801
It is also possible to combine any number of processors:
802802

0 commit comments

Comments
 (0)