mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 08:22:41 +08:00
Fix class reference
This commit is contained in:
parent
8b157346df
commit
f57dffe4a2
@ -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…
x
Reference in New Issue
Block a user