Skip to content

Commit

Permalink
fix: Fix missing nullable annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
angelobreuer committed Mar 9, 2024
1 parent 4873a18 commit a3fd91b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

public static class TrackManagerExtensions
{
public static async ValueTask<Lyrics> GetCurrentTrackLyricsAsync(
public static async ValueTask<Lyrics?> GetCurrentTrackLyricsAsync(
this ITrackManager trackManager,
ILavalinkPlayer player,
CancellationToken cancellationToken = default)
Expand Down Expand Up @@ -45,7 +45,7 @@ public static async ValueTask<ImmutableArray<LyricsSearchResult>> SearchLyricsAs
.ConfigureAwait(false);
}

public static async ValueTask<Lyrics> GetYouTubeLyricsAsync(
public static async ValueTask<Lyrics?> GetYouTubeLyricsAsync(
this ITrackManager trackManager,
string query,
CancellationToken cancellationToken = default)
Expand All @@ -64,7 +64,7 @@ public static async ValueTask<Lyrics> GetYouTubeLyricsAsync(
.ConfigureAwait(false);
}

public static async ValueTask<Lyrics> GetGeniusLyricsAsync(
public static async ValueTask<Lyrics?> GetGeniusLyricsAsync(
this ITrackManager trackManager,
string query,
CancellationToken cancellationToken = default)
Expand Down

0 comments on commit a3fd91b

Please sign in to comment.