diff options
author | Andrew Dolgov <[email protected]> | 2021-11-13 19:52:47 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-11-13 19:52:47 +0300 |
commit | 03d069226886a6955cc71c6b25ddc92b9b7d47b2 (patch) | |
tree | cb822f50409c1e3f1f6f85cb3da2cff4d962df93 /plugins/share/init.php | |
parent | 68d7cf44f994b422ede2adc6d182d5efce5cbe64 (diff) |
no need to duplicate annotations
Diffstat (limited to 'plugins/share/init.php')
-rw-r--r-- | plugins/share/init.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/share/init.php b/plugins/share/init.php index 4a2a942d7..4dbc389fd 100644 --- a/plugins/share/init.php +++ b/plugins/share/init.php @@ -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"); } |