Skip to content

Commit 06414b7

Browse files
NyholmOskarStark
authored andcommitted
Apply suggestions from code review
Co-authored-by: Oskar Stark <[email protected]>
1 parent 7388cc9 commit 06414b7

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

components/runtime.rst

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Selecting Runtimes
6565
The default Runtime is :class:`Symfony\\Component\\Runtime\\SymfonyRuntime`, it
6666
works excellent on most applications running with a webserver like Nginx and Apache,
6767
and PHP-FPM. You may change Runtime to :class:`Symfony\\Component\\Runtime\\GenericRuntime`
68-
or a custom Runtime for Swoole or Aws Lambda. This can be done by specifying the
68+
or a custom Runtime for Swoole or AWS Lambda. This can be done by specifying the
6969
Runtime class in the ``APP_RUNTIME`` environment variable or to specify the
7070
``extra.runtime.class`` in ``composer.json``.
7171

@@ -82,8 +82,8 @@ Runtime class in the ``APP_RUNTIME`` environment variable or to specify the
8282
}
8383
}
8484
85-
Using SymfonyRuntime
86-
--------------------
85+
Using the SymfonyRuntime
86+
------------------------
8787

8888
The :class:`Symfony\\Component\\Runtime\\RuntimeInterface` has two methods. One
8989
to get an instance of :class:`Symfony\\Component\\Runtime\\ResolverInterface`
@@ -309,8 +309,8 @@ The second way to pass an option to ``SymfonyRuntime::__construct()`` is to use
309309
The environment variable ``APP_DEBUG`` has special support to easily
310310
turn on and off debugging.
311311

312-
Creating Your Own Runtime
313-
-------------------------
312+
Create Your Own Runtime
313+
-----------------------
314314

315315
This is an advanced topic that describes the internals of the Runtime component.
316316

@@ -319,7 +319,7 @@ could be versioned as a part of a normal package. If the application author deci
319319
to use this component, the package maintainer of the Runtime class will have more
320320
control and can fix bugs and add features.
321321

322-
-- note::
322+
.. note::
323323

324324
Before Symfony 5.3, the boostrap logic was part of a Flex recipe. Since recipes
325325
are rarely updated by users, bug patches would rarely be installed.
@@ -413,5 +413,3 @@ The end user will now be able to create front controller like::
413413
return function (array $context) {
414414
return new Psr15Application();
415415
};
416-
417-

0 commit comments

Comments
 (0)