Add new version in repository
This commit is contained in:
@@ -10,17 +10,17 @@ class PermissionUser extends Model
|
||||
|
||||
public function permission()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Core\Auth\Permission');
|
||||
return $this->belongsTo(\App\Models\Core\Auth\Permission::class);
|
||||
}
|
||||
|
||||
public function user()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Core\Auth\User');
|
||||
return $this->belongsTo(\App\Models\Core\Auth\User::class);
|
||||
}
|
||||
|
||||
public function team()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Core\Auth\Team');
|
||||
return $this->belongsTo(\App\Models\Core\Auth\Team::class);
|
||||
}
|
||||
|
||||
public function scopeByUser($query, $id)
|
||||
|
||||
Reference in New Issue
Block a user