Fixed a/an grammar mistake (#16302) [skip ci]

This commit is contained in:
Pavlo
2018-05-21 12:56:08 +03:00
committed by Alexander Makarov
parent 33fe3476c7
commit 624a520023

View File

@ -58,7 +58,7 @@ If it is not accessed at all during a request, it will not be instantiated. Some
to instantiate an application component for every request, even if it is not explicitly accessed. to instantiate an application component for every request, even if it is not explicitly accessed.
To do so, you may list its ID in the [[yii\base\Application::bootstrap|bootstrap]] property of the application. To do so, you may list its ID in the [[yii\base\Application::bootstrap|bootstrap]] property of the application.
You can also use Closures to bootstrap customized components. Returning a instantiated component is not You can also use Closures to bootstrap customized components. Returning an instantiated component is not
required. A Closure can also be used simply for running code after [[yii\base\Application]] instantiation. required. A Closure can also be used simply for running code after [[yii\base\Application]] instantiation.
For example, the following application configuration makes sure the `log` component is always loaded: For example, the following application configuration makes sure the `log` component is always loaded: