Changes:
- added missing type-hints - avoided local variables - added some documentation - changed double-quotes to single
This commit is contained in:
parent
c0c15644a3
commit
06b15a6ed0
29 changed files with 191 additions and 204 deletions
|
@ -31,7 +31,7 @@ function qcomment_install()
|
|||
Hook::register('footer' , __FILE__, 'qcomment_footer');
|
||||
}
|
||||
|
||||
function qcomment_footer(App $a, string &$b)
|
||||
function qcomment_footer(App $a, string &$body)
|
||||
{
|
||||
DI::page()->registerFooterScript('addon/qcomment/qcomment.js');
|
||||
}
|
||||
|
@ -57,7 +57,7 @@ function qcomment_addon_settings(App &$a, array &$data)
|
|||
];
|
||||
}
|
||||
|
||||
function qcomment_addon_settings_post(App $a, array &$b)
|
||||
function qcomment_addon_settings_post(App $a, array &$body)
|
||||
{
|
||||
if (!local_user()) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue