1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:45:55 +00:00

no need to duplicate annotations

This commit is contained in:
Andrew Dolgov
2021-11-13 19:52:47 +03:00
parent 68d7cf44f9
commit 03d0692268
2 changed files with 6 additions and 6 deletions

View File

@@ -3,14 +3,12 @@ class Share extends Plugin {
/** @var PluginHost $host */
private $host;
/** @return array<float|string|null> */
function about() {
return array(null,
"Share article by unique URL",
"fox");
}
/** @param PluginHost $host */
function init($host) {
$this->host = $host;
@@ -22,17 +20,14 @@ class Share extends Plugin {
return $method == "get";
}
/** @return string */
function get_js() {
return file_get_contents(__DIR__ . "/share.js");
}
/** @return string */
function get_css() {
return file_get_contents(__DIR__ . "/share.css");
}
/** @return string */
function get_prefs_js() {
return file_get_contents(__DIR__ . "/share_prefs.js");
}