Ops
authorRoland Häder <roland@mxchange.org>
Thu, 23 Jun 2022 05:37:04 +0000 (07:37 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 23 Jun 2022 05:37:12 +0000 (07:37 +0200)
highlightjs/highlightjs.php

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