mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
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
|
@ -21,7 +21,7 @@ function fromapp_install()
|
|||
Logger::notice("installed fromapp");
|
||||
}
|
||||
|
||||
function fromapp_settings_post($a, $post)
|
||||
function fromapp_settings_post(App $a, $post)
|
||||
{
|
||||
if (!local_user() || empty($_POST['fromapp-submit'])) {
|
||||
return;
|
||||
|
@ -53,7 +53,7 @@ function fromapp_settings(App &$a, array &$data)
|
|||
];
|
||||
}
|
||||
|
||||
function fromapp_post_hook(&$a, &$item)
|
||||
function fromapp_post_hook(App $a, &$item)
|
||||
{
|
||||
if (! local_user()) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue