mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-30 20:38:27 +01:00
fix SA1503 for one line if statements
This commit is contained in:
@@ -39,9 +39,12 @@ namespace Jellyfin.Data.Entities
|
||||
|
||||
this.MinimumValue = minimumvalue;
|
||||
|
||||
if (_rating0 == null) throw new ArgumentNullException(nameof(_rating0));
|
||||
_rating0.RatingType = this;
|
||||
if (_rating0 == null)
|
||||
{
|
||||
throw new ArgumentNullException(nameof(_rating0));
|
||||
}
|
||||
|
||||
_rating0.RatingType = this;
|
||||
|
||||
Init();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user