summaryrefslogtreecommitdiff
path: root/plugins/note/init.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/note/init.php')
-rw-r--r--plugins/note/init.php4
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"]);