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=054dff5d2fafcbf66c44f01e4f5177cecdd5d5d8;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 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')); }