Changes:
- added more type-hints - cleaned up some files (curly braces, spaces)
This commit is contained in:
parent
a1e17968d1
commit
04df7f6e05
74 changed files with 603 additions and 529 deletions
|
@ -31,7 +31,7 @@ function qcomment_install()
|
|||
Hook::register('footer' , __FILE__, 'qcomment_footer');
|
||||
}
|
||||
|
||||
function qcomment_footer(App $a, &$b)
|
||||
function qcomment_footer(App $a, array &$b)
|
||||
{
|
||||
DI::page()->registerFooterScript('addon/qcomment/qcomment.js');
|
||||
}
|
||||
|
@ -57,7 +57,7 @@ function qcomment_addon_settings(App &$a, array &$data)
|
|||
];
|
||||
}
|
||||
|
||||
function qcomment_addon_settings_post(&$a, &$b)
|
||||
function qcomment_addon_settings_post(App $a, array &$b)
|
||||
{
|
||||
if (! local_user()) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue