From: Roland Häder Date: Sun, 29 Jul 2018 20:22:50 +0000 (+0200) Subject: [buglink]: Added type-hint 'App' X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bc5aa4015b6e29395682f3ebfdeb5e852c90c613;p=friendica-addons.git [buglink]: Added type-hint 'App' --- diff --git a/buglink/buglink.php b/buglink/buglink.php index 71c22a67..91d860cd 100644 --- a/buglink/buglink.php +++ b/buglink/buglink.php @@ -5,6 +5,8 @@ * Version: 1.0 * Author: Mike Macgirvin */ + +use Friendica\App; use Friendica\Core\Addon; use Friendica\Core\L10n; @@ -18,7 +20,7 @@ function buglink_uninstall() Addon::unregisterHook('page_end', 'addon/buglink/buglink.php', 'buglink_active'); } -function buglink_active(&$a, &$b) +function buglink_active(App $a, &$b) { $b .= ''; }