From 054dff5d2fafcbf66c44f01e4f5177cecdd5d5d8 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Mon, 25 Jan 2016 15:41:43 +0100 Subject: [PATCH] Added type-hint for StartHostMetaLinks hook Signed-off-by: Roland Haeder --- plugins/AccountManager/AccountManagerPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/AccountManager/AccountManagerPlugin.php b/plugins/AccountManager/AccountManagerPlugin.php index 1b6d57e46c..9b1a2f6f08 100644 --- a/plugins/AccountManager/AccountManagerPlugin.php +++ b/plugins/AccountManager/AccountManagerPlugin.php @@ -58,7 +58,7 @@ class AccountManagerPlugin extends Plugin return true; } - function onStartHostMetaLinks(&$links) { + function onStartHostMetaLinks(array &$links) { $links[] = new XML_XRD_Element_Link(AccountManagerPlugin::AM_REL, common_local_url('AccountManagementControlDocument')); } -- 2.39.5