forked from friendica/friendica-addons
Merge pull request #1266 from MrPetovan/bug/fatal-errors
[qcomment] Fix wrong type hint for footer hook function
This commit is contained in:
commit
df8cc5d6c3
|
@ -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