We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2745cd5 commit 26b43fcCopy full SHA for 26b43fc
src/Traits/HasRoles.php
@@ -8,6 +8,6 @@ trait HasRoles
8
{
9
public function role()
10
11
- return $this->belongsTo(Role::class)->first();
+ return $this->belongsTo(Role::class);
12
}
13
0 commit comments