1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-03 11:49:15 +00:00

plugin cleanup re: phpstan 1.0 warnings

This commit is contained in:
Andrew Dolgov
2021-11-10 20:58:40 +03:00
parent 9e8d69739f
commit 87a30d88d3
14 changed files with 4 additions and 49 deletions

View File

@@ -1,7 +1,6 @@
<?php
class Af_Comics extends Plugin {
private $host;
private $filters = array();
function about() {
@@ -11,8 +10,6 @@ class Af_Comics extends Plugin {
}
function init($host) {
$this->host = $host;
$host->add_hook($host::HOOK_FETCH_FEED, $this);
$host->add_hook($host::HOOK_FEED_BASIC_INFO, $this);
$host->add_hook($host::HOOK_SUBSCRIBE_FEED, $this);