From bc5aa4015b6e29395682f3ebfdeb5e852c90c613 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 29 Jul 2018 22:22:50 +0200 Subject: [PATCH] [buglink]: Added type-hint 'App' --- buglink/buglink.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 .= ''; } -- 2.39.5