From 50aa72467fe19e0b44b15f26427721fe0326a367 Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Mon, 6 May 2013 20:24:19 -0400 Subject: [PATCH] Renamed YiiBase to \yii\YiiBase. --- framework/YiiBase.php | 4 +++- framework/yii.php | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/framework/YiiBase.php b/framework/YiiBase.php index ed975c9..c911f78 100644 --- a/framework/YiiBase.php +++ b/framework/YiiBase.php @@ -4,6 +4,8 @@ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ */ +namespace yii; + use yii\base\Exception; use yii\base\InvalidConfigException; use yii\base\InvalidParamException; @@ -60,7 +62,7 @@ class YiiBase */ public static $enableIncludePath = true; /** - * @var yii\console\Application|yii\web\Application the application instance + * @var \yii\console\Application|\yii\web\Application the application instance */ public static $app; /** diff --git a/framework/yii.php b/framework/yii.php index 828dc4f..109e2fd 100644 --- a/framework/yii.php +++ b/framework/yii.php @@ -18,7 +18,7 @@ require(__DIR__ . '/YiiBase.php'); * @author Qiang Xue * @since 2.0 */ -class Yii extends YiiBase +class Yii extends \yii\YiiBase { }