diff --git a/composer.json b/composer.json index 089c232..0a1580d 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "minimum-stability": "dev", "prefer-stable": true, "require": { - "yiisoft/yii2": "*", + "yiisoft/yii2": ">=2.0.13", "onelogin/php-saml": "~2.13.0" }, "require-dev": { diff --git a/src/Saml.php b/src/Saml.php index cfcbb75..10ea983 100644 --- a/src/Saml.php +++ b/src/Saml.php @@ -3,12 +3,12 @@ namespace asasmoyo\yii2saml; use Yii; -use yii\base\Object; +use yii\base\BaseObject; /** * This class wraps OneLogin_Saml2_Auth class by creating an instance of that class using configurations specified in configFileName variable inside @app/config folder. */ -class Saml extends Object +class Saml extends BaseObject { /**