1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 19:15:56 +00:00

fix phpstan warnings in classes/sanitizer.php

This commit is contained in:
Andrew Dolgov
2021-11-13 17:52:03 +03:00
parent a7983d475e
commit 8a83f061bf

View File

@@ -44,7 +44,7 @@ class Sanitizer {
return $doc;
}
public static function iframe_whitelisted(DOMNode $entry): bool {
public static function iframe_whitelisted(DOMElement $entry): bool {
$src = parse_url($entry->getAttribute("src"), PHP_URL_HOST);
if (!empty($src))