Fix up subuser API response for clients
This commit is contained in:
parent
51defae917
commit
5f13531c69
11 changed files with 86 additions and 41 deletions
|
@ -160,7 +160,7 @@ class Permission extends Validable
|
|||
* Returns all of the permissions available on the system for a user to
|
||||
* have when controlling a server.
|
||||
*
|
||||
* @return \Illuminate\Support\Collection
|
||||
* @return \Illuminate\Database\Eloquent\Collection
|
||||
*/
|
||||
public static function permissions(): Collection
|
||||
{
|
||||
|
@ -229,7 +229,7 @@ class Permission extends Validable
|
|||
* Return a collection of permissions available.
|
||||
*
|
||||
* @param bool $array
|
||||
* @return array|\Illuminate\Support\Collection
|
||||
* @return array|\Illuminate\Database\Eloquent\Collection
|
||||
* @deprecated
|
||||
*/
|
||||
public static function getPermissions($array = false)
|
||||
|
|
Reference in a new issue