From 88739fcb7073eb25eca98ed7de1cbe1151d1b602 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 25 Jun 2022 04:58:59 -0400 Subject: [PATCH] [qcomment] Fix wrong type hint for footer hook function - Address https://github.com/friendica/friendica/issues/11630#issuecomment-1166188409 --- qcomment/qcomment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcomment/qcomment.php b/qcomment/qcomment.php index 7a1c6ca6..1bde48aa 100644 --- a/qcomment/qcomment.php +++ b/qcomment/qcomment.php @@ -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'); }