diff --git a/framework/yii/base/Application.php b/framework/yii/base/Application.php index 70eaca3..1dbe8e7 100644 --- a/framework/yii/base/Application.php +++ b/framework/yii/base/Application.php @@ -259,7 +259,7 @@ abstract class Application extends Module } /** - * Sets the root directory of the applicaition and the @app alias. + * Sets the root directory of the application and the @app alias. * This method can only be invoked at the beginning of the constructor. * @param string $path the root directory of the application. * @property string the root directory of the application. @@ -427,7 +427,7 @@ abstract class Application extends Module /** * Returns the view object. - * @return View the view object that is used to render various view files. + * @return View|\yii\web\View the view object that is used to render various view files. */ public function getView() {