diff --git a/plugins/note/init.php b/plugins/note/init.php index bc3df64b1..28d3c8c3a 100644 --- a/plugins/note/init.php +++ b/plugins/note/init.php @@ -21,7 +21,7 @@ class Note extends Plugin { style='cursor : pointer' title='".__('Edit article note')."'>note"; } - function edit() { + function edit() : void { $id = clean($_REQUEST['id']); $sth = $this->pdo->prepare("SELECT note FROM ttrss_user_entries WHERE @@ -49,7 +49,7 @@ class Note extends Plugin { $article + * @return array + * @throws PDOException + */ + private function rewrite_contents(array $article) : array { $tags = explode(",", $this->host->get($this, "tags")); $article_tags = $article["tags"]; @@ -101,7 +108,7 @@ class NSFW extends Plugin { "> - - - - +