src/Repositories/Character/Notifications.php
public function getCharacterNotifications(int $character_id, int $chunk = 50): Collection
    {

        return CharacterNotification::where('character_id', $character_id)
            ->take($chunk)
            ->orderBy('timestamp', 'desc')
            ->get();
    }
public function getCharacterNotifications(int $character_id, int $chunk = 50): Collection
    {

        return CharacterNotification::where('character_id', $character_id)
            ->take($chunk)
            ->orderBy('timestamp', 'desc')
            ->get();
    }
public function getCharacterNotifications ( int $ character_id , int $ chunk = 50 ) : Collection { return CharacterNotification :: where ( 'character_id' , $ character_id ) -> take ( $ chunk ) -> orderBy ( 'timestamp' , 'desc' ) -> get ( ) ; }
Return notifications for a character.

@param int $character_id
@param int $chunk

@return \Illuminate\Support\Collection
Return notifications for a character .