summaryrefslogtreecommitdiffstats
path: root/lib/Scraper/Scraper.php
diff options
context:
space:
mode:
authorPetros Koutsolampros <2184600+orange-vertex@users.noreply.github.com>2020-01-07 15:57:19 +0200
committerBenjamin Brahmer <info@b-brahmer.de>2020-01-07 14:57:19 +0100
commitd27dddad25b1333f531377b5699e0be8fa1896ea (patch)
tree2b5897f52b627b28aec66c4e2a4b1cea3f853f9a /lib/Scraper/Scraper.php
parentd92a2c94550461b5806a175eb631412629d1fa34 (diff)
Allow getContent() in Scraper and IScraper to return null (#606)
Allow getContent() in Scraper and IScraper to return null
Diffstat (limited to 'lib/Scraper/Scraper.php')
-rw-r--r--lib/Scraper/Scraper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Scraper/Scraper.php b/lib/Scraper/Scraper.php
index fedb0391c..a99416c63 100644
--- a/lib/Scraper/Scraper.php
+++ b/lib/Scraper/Scraper.php
@@ -83,7 +83,7 @@ class Scraper implements IScraper
return true;
}
- public function getContent(): string
+ public function getContent(): ?string
{
if ($this->readability === null) {
return null;