1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 07:05:56 +00:00

remove PHPMD.UnusedFormalParameter

This commit is contained in:
Andrew Dolgov
2021-02-08 19:42:10 +03:00
parent a341a838b1
commit 7874f6ac58
15 changed files with 3 additions and 63 deletions

View File

@@ -21,9 +21,6 @@ class VF_Shared extends Plugin {
return 2;
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
function get_unread($feed_id) {
$sth = $this->pdo->prepare("select count(int_id) AS count
from ttrss_user_entries where owner_uid = ? and unread = true and uuid != ''");
@@ -36,9 +33,6 @@ class VF_Shared extends Plugin {
return 0;
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
function get_total($feed_id) {
$sth = $this->pdo->prepare("select count(int_id) AS count
from ttrss_user_entries where owner_uid = ? and uuid != ''");
@@ -51,9 +45,6 @@ class VF_Shared extends Plugin {
return 0;
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
function get_headlines($feed_id, $options) {
$params = array(
"feed" => -4,
@@ -75,4 +66,4 @@ class VF_Shared extends Plugin {
return $qfh_ret;
}
}
}