diff --git a/composer.json b/composer.json index 0123f1d..a9a37de 100644 --- a/composer.json +++ b/composer.json @@ -22,6 +22,7 @@ }, "require": { "php": ">=5.4.0", + "yiisoft/yii2": "~2.0.13", "lib-curl": "*", "yiisoft/yii2": "*", "lusitanian/oauth": "~0.3.0", @@ -30,4 +31,4 @@ "extra": { "bootstrap": "nodge\\eauth\\Bootstrap" } -} \ No newline at end of file +} diff --git a/src/EAuth.php b/src/EAuth.php index 79bb8be..1fe08e2 100644 --- a/src/EAuth.php +++ b/src/EAuth.php @@ -10,7 +10,7 @@ namespace nodge\eauth; use Yii; -use yii\base\Object; +use yii\base\BaseObject; use yii\helpers\ArrayHelper; use yii\helpers\Url; @@ -19,7 +19,7 @@ * * @package application.extensions.eauth */ -class EAuth extends Object +class EAuth extends BaseObject { /** diff --git a/src/ServiceBase.php b/src/ServiceBase.php index 45b9b38..87e2a8b 100644 --- a/src/ServiceBase.php +++ b/src/ServiceBase.php @@ -10,7 +10,7 @@ namespace nodge\eauth; use Yii; -use yii\base\Object; +use yii\base\BaseObject; use yii\helpers\Url; use yii\helpers\ArrayHelper; use OAuth\Common\Http\Uri\Uri; @@ -21,7 +21,7 @@ * * @package application.extensions.eauth */ -abstract class ServiceBase extends Object implements IAuthService +abstract class ServiceBase extends BaseObject implements IAuthService { /**