From: Roland Haeder Date: Mon, 25 Jan 2016 14:41:43 +0000 (+0100) Subject: Added type-hint for StartHostMetaLinks hook X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6466dbc02087b2554d5e0dd9829fe7c08d36dcfc;p=quix0rs-gnu-social.git Added type-hint for StartHostMetaLinks hook Signed-off-by: Roland Haeder --- diff --git a/plugins/AccountManager/AccountManagerPlugin.php b/plugins/AccountManager/AccountManagerPlugin.php index 24a95395a3..52a75513cf 100644 --- a/plugins/AccountManager/AccountManagerPlugin.php +++ b/plugins/AccountManager/AccountManagerPlugin.php @@ -56,7 +56,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')); }