Skip to content

Commit 0582836

Browse files
committed
Minor tweaks
1 parent 63e258a commit 0582836

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/runtime.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,12 +303,12 @@ Using Options
303303

304304
Some behavior of the Runtimes can be modified through runtime options. They
305305
can be set using the ``APP_RUNTIME_OPTIONS`` environment variable as an array
306-
or a JSON encoded value::
306+
or a JSON encoded string::
307307

308308
$_SERVER['APP_RUNTIME_OPTIONS'] = [
309309
'project_dir' => '/var/task',
310310
];
311-
// Which is the same than
311+
// same configuration using JSON:
312312
// $_SERVER['APP_RUNTIME_OPTIONS'] = '{"project_dir":"\/var\/task"}';
313313

314314
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
@@ -317,7 +317,7 @@ or a JSON encoded value::
317317

318318
.. versionadded:: 7.4
319319

320-
The support for JSON encoded APP_RUNTIME_OPTIONS value was introduced in Symfony 7.4.
320+
The support for JSON contents in ``APP_RUNTIME_OPTIONS`` was introduced in Symfony 7.4.
321321

322322
You can also configure ``extra.runtime`` in ``composer.json``:
323323

0 commit comments

Comments
 (0)