From 525f988d68c37ef6b04f7083727358183c3baea3 Mon Sep 17 00:00:00 2001 From: Milen Hristov Date: Mon, 6 Nov 2017 10:54:35 +0200 Subject: [PATCH] since 2.0.13, the class name `Object` is invalid since PHP 7.2, use [[BaseObject]] instead. (#151) --- models/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/User.php b/models/User.php index 250fb39..768bddd 100644 --- a/models/User.php +++ b/models/User.php @@ -2,7 +2,7 @@ namespace app\models; -class User extends \yii\base\Object implements \yii\web\IdentityInterface +class User extends \yii\base\BaseObject implements \yii\web\IdentityInterface { public $id; public $username;