1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-24 09:51:29 +00:00

Minor fix to DOMNodeList#item() potential type (null vs false)

This commit is contained in:
wn_
2021-11-15 12:24:38 +00:00
parent 85b974af32
commit 109b702ed0
6 changed files with 6 additions and 6 deletions

View File

@@ -287,7 +287,7 @@ class Af_RedditImgur extends Plugin {
$this->generated_enclosures = [];
/** @var DOMElement|false $anchor -- embed anchor element, before reddit <table> post layout */
/** @var DOMElement|null $anchor -- embed anchor element, before reddit <table> post layout */
$anchor = $xpath->query('//body/*')->item(0);
// deal with json-provided media content first