mirror of
https://github.com/flarum/framework.git
synced 2025-02-01 11:14:59 +08:00
Fix class reference
This commit is contained in:
parent
b791790d2f
commit
0525f467c7
|
@ -64,7 +64,7 @@ class EmailToken extends AbstractModel
|
|||
*/
|
||||
public function user()
|
||||
{
|
||||
return $this->belongsTo('Flarum\User');
|
||||
return $this->belongsTo(User::class);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -59,6 +59,6 @@ class PasswordToken extends AbstractModel
|
|||
*/
|
||||
public function user()
|
||||
{
|
||||
return $this->belongsTo('Flarum\User');
|
||||
return $this->belongsTo(User::class);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user