make phpstan happy

This commit is contained in:
Andrew Dolgov
2023-04-06 15:55:00 +03:00
parent af5c64045b
commit 53bd56894d

View File

@@ -239,7 +239,7 @@ class Article extends Handler_Protected {
print json_encode(["id" => (int)$id, "tags" => $this->_get_tags($id)]);
}
function completeTags() {
function completeTags(): void {
$search = clean($_REQUEST["search"]);
$sth = $this->pdo->prepare("SELECT DISTINCT tag_name FROM ttrss_tags