Skip to content

Commit 525f988

Browse files
schmasterzcebe
authored andcommitted
since 2.0.13, the class name Object is invalid since PHP 7.2, use [[BaseObject]] instead. (yiisoft#151)
1 parent 217f923 commit 525f988

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace app\models;
44

5-
class User extends \yii\base\Object implements \yii\web\IdentityInterface
5+
class User extends \yii\base\BaseObject implements \yii\web\IdentityInterface
66
{
77
public $id;
88
public $username;

0 commit comments

Comments
 (0)