Testing: Addressed failing tests and static checks

This commit is contained in:
Dan Brown
2026-02-17 11:23:34 +00:00
parent e4383765e1
commit 9646339933
3 changed files with 25 additions and 8 deletions

View File

@@ -176,7 +176,7 @@ class HtmlContentFilter
filterOutNonContentElements: false,
useAllowListFilter: false,
);
$filter = new static($config);
$filter = new self($config);
$filter->filterDocument($doc);
}
@@ -191,7 +191,7 @@ class HtmlContentFilter
filterOutNonContentElements: false,
useAllowListFilter: false,
);
$filter = new static($config);
$filter = new self($config);
return $filter->filterString($html);
}
}