[cookienotice] Fix wrong type-hint in hook function cookienotice_page_content_top
- Fix "Argument 2 passed to cookienotice_page_content_top() must be of the type array, string given" errorpull/1270/head
parent
fe4982d51b
commit
ff0c7ac104
|
@ -82,7 +82,7 @@ function cookienotice_addon_admin_post(App $a)
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function cookienotice_page_content_top(App $a, array &$b)
|
function cookienotice_page_content_top(App $a, string &$b)
|
||||||
{
|
{
|
||||||
DI::page()->registerStylesheet(__DIR__ . '/cookienotice.css');
|
DI::page()->registerStylesheet(__DIR__ . '/cookienotice.css');
|
||||||
DI::page()->registerFooterScript(__DIR__ . '/cookienotice.js');
|
DI::page()->registerFooterScript(__DIR__ . '/cookienotice.js');
|
||||||
|
|
Loading…
Reference in New Issue