mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-08-11 08:37:23 +02:00
plugin.php: add some minor method phpdoc corrections
This commit is contained in:
parent
1b5c61ac85
commit
7988c79bd4
@ -241,7 +241,7 @@ abstract class Plugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param array{'article': array<string,mixed>} $params
|
* @param array{'article': array<string,mixed>|null, 'headline': array<string,mixed>|null} $params
|
||||||
* @return array<string, string>
|
* @return array<string, string>
|
||||||
*/
|
*/
|
||||||
function hook_render_article_api($params) {
|
function hook_render_article_api($params) {
|
||||||
@ -532,7 +532,7 @@ abstract class Plugin {
|
|||||||
* @param string $content
|
* @param string $content
|
||||||
* @param string $site_url
|
* @param string $site_url
|
||||||
* @param array<string,mixed> $article
|
* @param array<string,mixed> $article
|
||||||
* @return string
|
* @return string|array<int,string>
|
||||||
*/
|
*/
|
||||||
function hook_article_image($enclosures, $content, $site_url, $article) {
|
function hook_article_image($enclosures, $content, $site_url, $article) {
|
||||||
user_error("Dummy method invoked.", E_USER_ERROR);
|
user_error("Dummy method invoked.", E_USER_ERROR);
|
||||||
|
Loading…
Reference in New Issue
Block a user