summaryrefslogtreecommitdiffstats
path: root/lib/Scraper/Scraper.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Scraper/Scraper.php')
-rw-r--r--lib/Scraper/Scraper.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Scraper/Scraper.php b/lib/Scraper/Scraper.php
index a99416c63..65a138799 100644
--- a/lib/Scraper/Scraper.php
+++ b/lib/Scraper/Scraper.php
@@ -11,11 +11,10 @@
namespace OCA\News\Scraper;
-use OCA\News\Utility\PsrLogger;
-
use andreskrey\Readability\Readability;
use andreskrey\Readability\Configuration;
use andreskrey\Readability\ParseException;
+use Psr\Log\LoggerInterface;
class Scraper implements IScraper
{
@@ -24,7 +23,7 @@ class Scraper implements IScraper
private $readability;
private $curl_opts;
- public function __construct(PsrLogger $logger)
+ public function __construct(LoggerInterface $logger)
{
$this->logger = $logger;
$this->config = new Configuration([