Fix up subuser API response for clients

This commit is contained in:
Dane Everitt 2019-12-28 12:03:19 -08:00
parent 51defae917
commit 5f13531c69
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
11 changed files with 86 additions and 41 deletions

View file

@ -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)