diff options
author | Sean Molenaar <sean@seanmolenaar.eu> | 2020-09-20 22:03:05 +0200 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2020-09-25 19:18:04 +0200 |
commit | 60ab4941cc7e6ede095e9e4aee3c2bf9a5c3bff6 (patch) | |
tree | baf0b07dd1c545efeb59437af46a99f4d9f69425 /lib/Scraper | |
parent | 2c8b4fa019749113658b9ed8cae211b679e4cbc0 (diff) |
Move to nextcloud config and update phpunit
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'lib/Scraper')
-rw-r--r-- | lib/Scraper/Scraper.php | 5 |
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([ |