forked from friendica/friendica-addons
[qcomment] Fix wrong type hint for footer hook function
- Address https://github.com/friendica/friendica/issues/11630#issuecomment-1166188409
This commit is contained in:
parent
3c5d0dc0cd
commit
88739fcb70
|
@ -31,7 +31,7 @@ function qcomment_install()
|
||||||
Hook::register('footer' , __FILE__, 'qcomment_footer');
|
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');
|
DI::page()->registerFooterScript('addon/qcomment/qcomment.js');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue