From df4b76f74b4b3c25a73cb4c72690f428b6b09535 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 1 Oct 2025 21:02:42 +0200 Subject: PHPStan 2.1.29 (#8052) Replace: * https://github.com/FreshRSS/FreshRSS/pull/8049 * https://github.com/FreshRSS/FreshRSS/pull/8050 --- app/Models/Entry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Models/Entry.php') diff --git a/app/Models/Entry.php b/app/Models/Entry.php index 5aa819a68..54516ca58 100644 --- a/app/Models/Entry.php +++ b/app/Models/Entry.php @@ -1017,7 +1017,7 @@ HTML; return false; } $xpath = new DOMXPath($doc); - $filterednodes = $xpath->query((new Gt\CssXPath\Translator($feed->attributeString('path_entries_filter') ?? '', '//'))->asXPath()) ?: []; + $filterednodes = $xpath->query((new Gt\CssXPath\Translator($feed->attributeString('path_entries_filter'), '//'))->asXPath()) ?: []; foreach ($filterednodes as $filterednode) { if (!($filterednode instanceof DOMElement) || $filterednode->parentNode === null) { continue; -- cgit v1.2.3