diff options
| author | wn_ <invalid@email.com> | 2021-11-15 12:24:38 +0000 |
|---|---|---|
| committer | wn_ <invalid@email.com> | 2021-11-15 12:24:38 +0000 |
| commit | 109b702ed0cd31a0dc8466b8127882d263705d8d (patch) | |
| tree | 615ef350b657c0fbb5b4c57a7769bdaad48f7bfa /plugins/af_redditimgur/init.php | |
| parent | 85b974af323a5819c888439bad2bf46ccaaaa4cd (diff) | |
Minor fix to DOMNodeList#item() potential type (null vs false)
Diffstat (limited to 'plugins/af_redditimgur/init.php')
| -rwxr-xr-x | plugins/af_redditimgur/init.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/af_redditimgur/init.php b/plugins/af_redditimgur/init.php index aeb75df3a..f40d21d35 100755 --- a/plugins/af_redditimgur/init.php +++ b/plugins/af_redditimgur/init.php @@ -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 |