src/Repositories/Character/Skills.php
public function getCharacterSkillsInformation(int $character_id): Collection
    {

        return CharacterSkill::join('invTypes',
            'character_skills.skill_id', '=',
            'invTypes.typeID')
            ->join('invGroups', 'invTypes.groupID', '=', 'invGroups.groupID')
            ->where('character_skills.character_id', $character_id)
            ->orderBy('invTypes.typeName')
            ->get();

    }
public function getCharacterSkillsInformation(int $character_id): Collection
    {

        return CharacterSkill::join('invTypes',
            'character_skills.skill_id', '=',
            'invTypes.typeID')
            ->join('invGroups', 'invTypes.groupID', '=', 'invGroups.groupID')
            ->where('character_skills.character_id', $character_id)
            ->orderBy('invTypes.typeName')
            ->get();

    }
public function getCharacterSkillsInformation ( int $ character_id ) : Collection { return CharacterSkill :: join ( 'invTypes' , 'character_skills.skill_id' , '=' , 'invTypes.typeID' ) -> join ( 'invGroups' , 'invTypes.groupID' , '=' , 'invGroups.groupID' ) -> where ( 'character_skills.character_id' , $ character_id ) -> orderBy ( 'invTypes.typeName' ) -> get ( ) ; }
Return the skills detail for a specific Character.

@param int $character_id

@return \Illuminate\Support\Collection
Return the skills detail for a specific Character .