[various] Fix hook function type-hints

- Address https://friendica.xyz/display/adf174d5-1562-b8d8-53d7-ffd690518338
This commit is contained in:
Hypolite Petovan 2022-06-26 19:36:45 -04:00
parent de4c972501
commit 90dec95b6e
4 changed files with 7 additions and 7 deletions

View file

@ -24,12 +24,12 @@ function showmore_dyn_install()
Hook::register('addon_settings_post', __FILE__, 'showmore_dyn_settings_post');
}
function showmore_dyn_head(App $a, array &$b)
function showmore_dyn_head(App $a, string &$b)
{
DI::page()->registerStylesheet(__DIR__ . '/showmore_dyn.css');
}
function showmore_dyn_footer(App $a, array &$b)
function showmore_dyn_footer(App $a, string &$b)
{
DI::page()->registerFooterScript(__DIR__ . '/showmore_dyn.js');
}