diff options
| author | Bond-009 <bond.009@outlook.com> | 2024-03-17 18:00:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-17 18:00:10 +0100 |
| commit | adb08c0aaa5c35629cf19f01b825c60d99ad2a0c (patch) | |
| tree | e5404cbf08f46ff22d2e6c75031c612d1e7ff0b2 /MediaBrowser.Controller/Library/IMusicManager.cs | |
| parent | 8070aabe1bb6fad0f42c33a785ffafe94bcfc329 (diff) | |
| parent | 651681c27630af0fd0852980ac473ce570805dc3 (diff) | |
Merge pull request #11149 from Bond-009/nullable4
Enable nullable for more files
Diffstat (limited to 'MediaBrowser.Controller/Library/IMusicManager.cs')
| -rw-r--r-- | MediaBrowser.Controller/Library/IMusicManager.cs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/MediaBrowser.Controller/Library/IMusicManager.cs b/MediaBrowser.Controller/Library/IMusicManager.cs index ec34a868b..93073cc79 100644 --- a/MediaBrowser.Controller/Library/IMusicManager.cs +++ b/MediaBrowser.Controller/Library/IMusicManager.cs @@ -1,5 +1,3 @@ -#nullable disable - #pragma warning disable CA1002, CS1591 using System.Collections.Generic; @@ -19,7 +17,7 @@ namespace MediaBrowser.Controller.Library /// <param name="user">The user to use.</param> /// <param name="dtoOptions">The options to use.</param> /// <returns>List of items.</returns> - List<BaseItem> GetInstantMixFromItem(BaseItem item, User user, DtoOptions dtoOptions); + List<BaseItem> GetInstantMixFromItem(BaseItem item, User? user, DtoOptions dtoOptions); /// <summary> /// Gets the instant mix from artist. @@ -28,7 +26,7 @@ namespace MediaBrowser.Controller.Library /// <param name="user">The user to use.</param> /// <param name="dtoOptions">The options to use.</param> /// <returns>List of items.</returns> - List<BaseItem> GetInstantMixFromArtist(MusicArtist artist, User user, DtoOptions dtoOptions); + List<BaseItem> GetInstantMixFromArtist(MusicArtist artist, User? user, DtoOptions dtoOptions); /// <summary> /// Gets the instant mix from genre. @@ -37,6 +35,6 @@ namespace MediaBrowser.Controller.Library /// <param name="user">The user to use.</param> /// <param name="dtoOptions">The options to use.</param> /// <returns>List of items.</returns> - List<BaseItem> GetInstantMixFromGenres(IEnumerable<string> genres, User user, DtoOptions dtoOptions); + List<BaseItem> GetInstantMixFromGenres(IEnumerable<string> genres, User? user, DtoOptions dtoOptions); } } |
