From 242cf916eff84325c4ab30fdc4dc24292ab6127f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 14 Nov 2021 21:20:59 +0300 Subject: deal with phpstan warnings in plugins/note, nsfw, and share --- plugins/note/init.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/note/init.php') 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 {