aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Entry.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-10-01 21:02:42 +0200
committerGravatar GitHub <noreply@github.com> 2025-10-01 21:02:42 +0200
commitdf4b76f74b4b3c25a73cb4c72690f428b6b09535 (patch)
tree59df00a635ba8b389db62ec4c3ca81c820f85e80 /app/Models/Entry.php
parentbb7a20094b5314e6ab57b8525c25f56505f1ff25 (diff)
PHPStan 2.1.29 (#8052)
Replace: * https://github.com/FreshRSS/FreshRSS/pull/8049 * https://github.com/FreshRSS/FreshRSS/pull/8050
Diffstat (limited to 'app/Models/Entry.php')
-rw-r--r--app/Models/Entry.php2
1 files changed, 1 insertions, 1 deletions
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;