Merge pull request #1270 from MrPetovan/bug/fatal-errors

[cookienotice] Fix wrong type-hint in hook function cookienotice_page_content_top
pull/1272/head
Tobias Diekershoff 2022-07-03 06:31:08 +02:00 committed by GitHub
commit 4c58a99e4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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');