mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-26 07:53:16 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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