Wrong types, why call $b so often ...

pull/1329/head
Roland Häder 2022-06-23 07:34:40 +02:00 committed by Michael
parent 2e2b0e81e9
commit e0bd8cd729
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ function highlightjs_install()
Hook::register('footer', __FILE__, 'highlightjs_footer');
}
function highlightjs_head(App $a, array &$b)
function highlightjs_head(App $a, strring &$b)
{
if ($a->getCurrentTheme() == 'frio') {
$style = 'bootstrap';
@ -27,7 +27,7 @@ function highlightjs_head(App $a, array &$b)
DI::page()->registerStylesheet(__DIR__ . '/asset/styles/' . $style . '.css');
}
function highlightjs_footer(App $a, array &$b)
function highlightjs_footer(App $a, string &$b)
{
DI::page()->registerFooterScript(__DIR__ . '/asset/highlight.pack.js');
DI::page()->registerFooterScript(__DIR__ . '/highlightjs.js');