private function likeTypeRelations($type)
    {
        $relations = [
            LikeType::LIKE => [
                'likes',
                'likesAndDislikes',
            ],
            LikeType::DISLIKE => [
                'dislikes',
                'likesAndDislikes',
            ],
        ];

        if (!isset($relations[$type])) {
            throw new LikeTypeInvalidException("Like type `{$type}` not supported");
        }

        return $relations[$type];
    }