Fix nullability errors in MediaBrowser.Model

This commit is contained in:
crobibero 2020-11-13 09:36:17 -07:00
parent 6353cb507d
commit d5e2369dd6
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ namespace MediaBrowser.Model.Entities
return null;
}
instance.ProviderIds.TryGetValue(name, out string id);
instance.ProviderIds.TryGetValue(name, out string? id);
return id;
}

View File

@ -177,7 +177,7 @@ namespace MediaBrowser.Model.Net
var ext = Path.GetExtension(path);
if (_mimeTypeLookup.TryGetValue(ext, out string result))
if (_mimeTypeLookup.TryGetValue(ext, out string? result))
{
return result;
}