Merge pull request #1266 from MrPetovan/bug/fatal-errors

[qcomment] Fix wrong type hint for footer hook function
This commit is contained in:
Philipp Holzer 2022-06-25 11:06:39 +02:00 committed by GitHub
commit df8cc5d6c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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');
}