[qcomment] Fix wrong type hint for footer hook function

- Address https://github.com/friendica/friendica/issues/11630#issuecomment-1166188409
pull/1329/head
Hypolite Petovan 2022-06-25 04:58:59 -04:00 committed by Michael
parent 90f4ab8b58
commit 16a9a2fa0b
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ function qcomment_install()
Hook::register('footer' , __FILE__, 'qcomment_footer');
}
function qcomment_footer(App $a, array &$b)
function qcomment_footer(App $a, string &$b)
{
DI::page()->registerFooterScript('addon/qcomment/qcomment.js');
}