src/Repositories/Configuration/UserRespository.php
public function getUserGroupCharacters(Group $group = null): Collection
    {

        if (! $group)
            return collect();

        return Group::with('users')->find($group->id)->users;
    }
public function getUserGroupCharacters(Group $group = null): Collection
    {

        if (! $group)
            return collect();

        return Group::with('users')->find($group->id)->users;
    }
public function getUserGroupCharacters ( Group $ group = null ) : Collection { if ( ! $ group ) return collect ( ) ; return Group :: with ( 'users' ) -> find ( $ group -> id ) -> users ; }
Return the characters that are part of a group.

@param \Seat\Web\Models\Group $group

@return \Illuminate\Support\Collection
Return the characters that are part of a group .