Skip to content

Commit

Permalink
Update User.php
Browse files Browse the repository at this point in the history
  • Loading branch information
edenleung authored Jan 30, 2020
1 parent 96016a2 commit 9fd5fc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Traits/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ trait User
/**
* 获取用户下所有角色.
*
* @return void
* @return BelongsToMany
*/
public function roles(): BelongsToMany
{
Expand Down Expand Up @@ -101,7 +101,7 @@ public function isSuper()
/**
* 获取用户权限(所属分组).
*
* @return void
* @return Collection
*/
public function getAllPermissions(): Collection
{
Expand Down

0 comments on commit 9fd5fc1

Please sign in to comment.