]> git.mxchange.org Git - friendica-addons.git/commitdiff
[qcomment] Fix wrong type hint for footer hook function
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 25 Jun 2022 08:58:59 +0000 (04:58 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sat, 25 Jun 2022 08:58:59 +0000 (04:58 -0400)
- Address https://github.com/friendica/friendica/issues/11630#issuecomment-1166188409

qcomment/qcomment.php

index 7a1c6ca6eb3280bd0eb356d1087b85598d7a37e6..1bde48aadda7f760d9e92149f71e9170176c9560 100644 (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');
 }