Skip to content

Commit 9fd5fc1

Browse files
authored
Update User.php
1 parent 96016a2 commit 9fd5fc1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Traits/User.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ trait User
1212
/**
1313
* 获取用户下所有角色.
1414
*
15-
* @return void
15+
* @return BelongsToMany
1616
*/
1717
public function roles(): BelongsToMany
1818
{
@@ -101,7 +101,7 @@ public function isSuper()
101101
/**
102102
* 获取用户权限(所属分组).
103103
*
104-
* @return void
104+
* @return Collection
105105
*/
106106
public function getAllPermissions(): Collection
107107
{

0 commit comments

Comments
 (0)