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

[cookienotice] Fix wrong type-hint in hook function cookienotice_page_content_top
This commit is contained in:
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

View file

@ -82,7 +82,7 @@ function cookienotice_addon_admin_post(App $a)
*
* @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()->registerFooterScript(__DIR__ . '/cookienotice.js');