mirror of
https://github.com/flarum/core.git
synced 2025-10-13 07:54:25 +02:00
Clean up Eloquent definitions
This commit is contained in:
@@ -33,11 +33,6 @@ class Group extends AbstractModel
|
||||
use EventGeneratorTrait;
|
||||
use ScopeVisibilityTrait;
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected $table = 'groups';
|
||||
|
||||
/**
|
||||
* The ID of the administrator group.
|
||||
*/
|
||||
|
@@ -32,7 +32,7 @@ class Permission extends AbstractModel
|
||||
*/
|
||||
public function group()
|
||||
{
|
||||
return $this->belongsTo(Group::class, 'group_id');
|
||||
return $this->belongsTo(Group::class);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user