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

[qcomment] Fix wrong type hint for footer hook function
pull/1267/head
Philipp 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
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');
}