diff options
| author | Vasily <JustAMan@users.noreply.github.com> | 2020-06-03 12:26:54 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-03 12:26:54 +0300 |
| commit | 668e10ceb79fcce5713fced0cf8e6fc055105e82 (patch) | |
| tree | 2d40285824ba70c6f8faf9997091615a266c471c /MediaBrowser.Model/Entities/ProviderIdsExtensions.cs | |
| parent | c31b2798a521e6bfe7c6b078306a1b2244c0ea93 (diff) | |
| parent | 959a9655c8a6d04b1b056a5ab3a02b546af03c3f (diff) | |
Merge pull request #2767 from Bond-009/nullable3
Enable nullabe reference types for MediaBrowser.Model
Diffstat (limited to 'MediaBrowser.Model/Entities/ProviderIdsExtensions.cs')
| -rw-r--r-- | MediaBrowser.Model/Entities/ProviderIdsExtensions.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Model/Entities/ProviderIdsExtensions.cs b/MediaBrowser.Model/Entities/ProviderIdsExtensions.cs index 922eb4ca7..e089dd1e5 100644 --- a/MediaBrowser.Model/Entities/ProviderIdsExtensions.cs +++ b/MediaBrowser.Model/Entities/ProviderIdsExtensions.cs @@ -25,7 +25,7 @@ namespace MediaBrowser.Model.Entities /// <param name="instance">The instance.</param> /// <param name="provider">The provider.</param> /// <returns>System.String.</returns> - public static string GetProviderId(this IHasProviderIds instance, MetadataProviders provider) + public static string? GetProviderId(this IHasProviderIds instance, MetadataProviders provider) { return instance.GetProviderId(provider.ToString()); } @@ -36,7 +36,7 @@ namespace MediaBrowser.Model.Entities /// <param name="instance">The instance.</param> /// <param name="name">The name.</param> /// <returns>System.String.</returns> - public static string GetProviderId(this IHasProviderIds instance, string name) + public static string? GetProviderId(this IHasProviderIds instance, string name) { if (instance == null) { |
