forked from friendica/friendica-addons
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:
commit
4c58a99e4f
|
@ -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 a new issue