[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

@ -80,12 +80,12 @@ function saml_install()
Hook::register('footer', __FILE__, 'saml_footer');
}
function saml_head(App $a, array &$b)
function saml_head(App $a, string &$b)
{
DI::page()->registerStylesheet(__DIR__ . '/saml.css');
}
function saml_footer(App $a, array &$b)
function saml_footer(App $a, string &$b)
{
$fragment = addslashes(BBCode::convert(DI::config()->get('saml', 'settings_statement')));
$b .= <<<EOL