8000 Apply suggestions from code review · symfony/symfony-docs@0677003 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0677003

Browse files
wouterjdbrumann
andauthored
Apply suggestions from code review
Co-authored-by: Denis Brumann <dbrumann@gmail.com>
1 parent 1d06888 commit 0677003

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/runtime.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ So how does this front-controller work? At first, the special
4545
the component. This file runs the following logic:
4646

4747
#. It instantiates a :class:`Symfony\\Component\\Runtime\\RuntimeInterface`;
48-
#. The callable (returned in the file) is passed to the Runtime, whose job
48+
#. The callable (returned by ``public/index.php``) is passed to the Runtime, whose job
4949
is to resolve the arguments (in this example: ``array $content``);
5050
#. Then, this callable is called to get the application (``App\Kernel``);
5151
#. At last, the Runtime is used to run the application (i.e. calling
@@ -107,7 +107,7 @@ Use the ``APP_RUNTIME`` environment variable or by specifying the
107107
Using the Runtime
108108
-----------------
109109

110-
A Runtime is resposible for passing arguments into the closure and run the
110+
A Runtime is responsible for passing arguments into the closure and run the
111111
application returned by the closure. The :class:`Symfony\\Component\\Runtime\\SymfonyRuntime` and
112112
:class:`Symfony\\Component\\Runtime\\GenericRuntime` supports a number of
113113
arguments and different applications that you can use in your
@@ -245,7 +245,7 @@ The ``GenericRuntime`` and ``SymfonyRuntime`` also support these generic
245245
applications:
246246

247247
:class:`Symfony\\Component\\Runtime\\RunnerInterface`
248-
The ``RuntimeInterface`` is a way to use a custom application with the
248+
The ``RunnerInterface`` is a way to use a custom application with the
249249
generic Runtime::
250250

251251
<?php
@@ -395,7 +395,7 @@ For instance, imagine you want to create a runtime for `ReactPHP`_:
395395

396396
**What arguments will the end user use?**
397397

398-
For a generic ReactPHP application, there are no special arguments are
398+
For a generic ReactPHP application, no special arguments are
399399
typically required. This means that you can use the
400400
:class:`Symfony\\Component\\Runtime\\GenericRuntime`.
401401

0 commit comments

Comments
 (0)
0