From 120ab9eeadfbfbb9e594509b5ad1c98a128fbd9a Mon Sep 17 00:00:00 2001 From: bscheshirwork Date: Thu, 28 Dec 2017 20:35:06 +0300 Subject: [PATCH] change php 7.2 special word Class to BaseClass (#993) * change php 7.2 special word Class to BaseClass * add require yii2 ^2.0.13 --- Finder.php | 4 ++-- composer.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Finder.php b/Finder.php index 68c7d2457..139065e99 100644 --- a/Finder.php +++ b/Finder.php @@ -14,7 +14,7 @@ use dektrium\user\models\query\AccountQuery; use dektrium\user\models\Token; use yii\authclient\ClientInterface; -use yii\base\Object; +use yii\base\BaseObject; use yii\db\ActiveQuery; /** @@ -22,7 +22,7 @@ * * @author Dmitry Erofeev */ -class Finder extends Object +class Finder extends BaseObject { /** @var ActiveQuery */ protected $userQuery; diff --git a/composer.json b/composer.json index ab5aeb37a..1b35e877d 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ "minimum-stability": "dev", "require": { "php": ">=5.4.0", - "yiisoft/yii2": "^2.0.0", + "yiisoft/yii2": "^2.0.13", "yiisoft/yii2-swiftmailer": "^2.0.0", "yiisoft/yii2-authclient": "^2.1.0", "yiisoft/yii2-bootstrap": "^2.0.0"