Skip to content
Snippets Groups Projects
Commit 6bd6a14c authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

revise phpdoc annotations for hook_sanitize()

parent f5c88158
No related branches found
No related tags found
No related merge requests found
......@@ -232,7 +232,7 @@ abstract class Plugin {
* @param array<string> $allowed_elements
* @param array<string> $disallowed_attributes
* @param int $article_id
* @return DOMDocument
* @return DOMDocument|array<int,DOMDocument|array<string>>
*/
function hook_sanitize($doc, $site_url, $allowed_elements, $disallowed_attributes, $article_id) {
user_error("Dummy method invoked.", E_USER_ERROR);
......@@ -519,7 +519,7 @@ abstract class Plugin {
/**
* @param string $url
* @return string
* @return string|false
*/
function hook_get_full_text($url) {
user_error("Dummy method invoked.", E_USER_ERROR);
......
......@@ -32,6 +32,8 @@ class Af_Youtube_Embed extends Plugin {
</div>";
}
return "";
}
function api_version() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment