mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
[various] Fix hook function type-hints
- Address https://friendica.xyz/display/adf174d5-1562-b8d8-53d7-ffd690518338
This commit is contained in:
parent
de4c972501
commit
90dec95b6e
4 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue