mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-05 03:22:54 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue