diff --git a/docs/guide/structure-applications.md b/docs/guide/structure-applications.md index efaf57e..405b162 100644 --- a/docs/guide/structure-applications.md +++ b/docs/guide/structure-applications.md @@ -131,7 +131,7 @@ For example, // an anonymous function function () { - return new \app\components\Profiler(); + return new app\components\Profiler(); } ], ] @@ -143,7 +143,7 @@ For example, >```php [ function () { - return \Yii::$app->getModule('user'); + return Yii::$app->getModule('user'); }, ] ```