mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:15:55 +00:00
fix phpstan warnings in classes/sanitizer.php
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user