Skip to content

Commit b36924d

Browse files
authored
review
1 parent 333885b commit b36924d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/AngleSharp.Css/Dom/Internal/CssStyleDeclaration.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,10 @@ private void RemovePropertyByName(String propertyName)
377377

378378
private void ChangeDeclarations(IEnumerable<ICssProperty> decls, Predicate<ICssProperty> defaultSkip, Func<ICssProperty, ICssProperty, Boolean> removeExisting)
379379
{
380-
if (decls == null)
380+
if (decls is null)
381+
{
381382
return;
383+
}
382384

383385
var declarations = new List<ICssProperty>();
384386

0 commit comments

Comments
 (0)