diff options
author | Andrew Dolgov <[email protected]> | 2021-11-14 21:20:59 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-11-14 21:20:59 +0300 |
commit | 242cf916eff84325c4ab30fdc4dc24292ab6127f (patch) | |
tree | 24653232507f34c905f2be815c75f02bc83c09f2 /plugins/note/init.php | |
parent | 5f808051b2bdb2e43f16693ba19b20940944d556 (diff) |
deal with phpstan warnings in plugins/note, nsfw, and share
Diffstat (limited to 'plugins/note/init.php')
-rw-r--r-- | plugins/note/init.php | 4 |
1 files changed, 2 insertions, 2 deletions
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</i>"; } - 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 { <?php } - function setNote() { + function setNote() : void { $id = (int)clean($_REQUEST["id"]); $note = clean($_REQUEST["note"]); |