From: Roland Häder Date: Thu, 23 Jun 2022 10:04:54 +0000 (+0200) Subject: Wrong type-hint X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=52d971ceabcc3ffebe2e0fa815b752d61a5ecc71;p=friendica-addons.git Wrong type-hint --- diff --git a/impressum/impressum.php b/impressum/impressum.php index 47e44ef7..7d9edfd5 100644 --- a/impressum/impressum.php +++ b/impressum/impressum.php @@ -56,7 +56,7 @@ function impressum_load_config(App $a, ConfigFileLoader $loader) $a->getConfigCache()->load($loader->loadAddonConfig('impressum')); } -function impressum_show(App $a, array &$body) +function impressum_show(App $a, string &$body) { $body .= '

' . DI::l10n()->t('Impressum') . '

'; $owner = DI::config()->get('impressum', 'owner');