documentation update + code fixes
This commit is contained in:
@ -59,7 +59,7 @@ class Bootstrap implements BootstrapInterface
|
||||
* Initialize container with module classes.
|
||||
*
|
||||
* @param \yii\base\Application $app
|
||||
* @param array $map the previously built class map list
|
||||
* @param array $map the previously built class map list
|
||||
*/
|
||||
protected function initContainer($app, $map)
|
||||
{
|
||||
@ -165,7 +165,7 @@ class Bootstrap implements BootstrapInterface
|
||||
if (!isset($app->get('i18n')->translations['usuario*'])) {
|
||||
$app->get('i18n')->translations['usuario*'] = [
|
||||
'class' => PhpMessageSource::class,
|
||||
'basePath' => __DIR__.'/resources/i18n',
|
||||
'basePath' => __DIR__ . '/resources/i18n',
|
||||
'sourceLanguage' => 'en-US',
|
||||
];
|
||||
}
|
||||
@ -214,7 +214,7 @@ class Bootstrap implements BootstrapInterface
|
||||
/**
|
||||
* Ensures required mail parameters needed for the mail service.
|
||||
*
|
||||
* @param Application $app
|
||||
* @param Application $app
|
||||
* @param Module|\yii\base\Module $module
|
||||
*/
|
||||
protected function initMailServiceConfiguration(Application $app, Module $module)
|
||||
@ -331,7 +331,7 @@ class Bootstrap implements BootstrapInterface
|
||||
/**
|
||||
* Returns the parent class name route of a short class name.
|
||||
*
|
||||
* @param array $routes class name routes
|
||||
* @param array $routes class name routes
|
||||
* @param string $name
|
||||
*
|
||||
* @return int|string
|
||||
|
||||
Reference in New Issue
Block a user