since 2.0.13, the class name Object
is invalid since PHP 7.2, use [[BaseObject]] instead. (#151)
This commit is contained in:
parent
217f9230d8
commit
525f988d68
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user