]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Added type-hint for StartHostMetaLinks hook
authorRoland Haeder <roland@mxchange.org>
Mon, 25 Jan 2016 14:41:43 +0000 (15:41 +0100)
committerRoland Häder <roland@mxchange.org>
Sun, 29 Mar 2020 22:21:31 +0000 (00:21 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
plugins/AccountManager/AccountManagerPlugin.php

index 1b6d57e46c8868d048868a90607f2ae39ff02de9..9b1a2f6f086628755bdb05e3d0659684d72e4349 100644 (file)
@@ -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'));
     }