From: Roland Haeder Date: Fri, 12 Sep 2014 20:27:06 +0000 (+0200) Subject: Fixed type-hint to correct object URLMapper as the other does not exist. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f9867d2d6f3ea6cb0f46048b86473b97462c111c;p=quix0rs-gnu-social.git Fixed type-hint to correct object URLMapper as the other does not exist. Signed-off-by: Roland Haeder --- diff --git a/plugins/GroupPrivateMessage/GroupPrivateMessagePlugin.php b/plugins/GroupPrivateMessage/GroupPrivateMessagePlugin.php index ee6bd0ebea..9c9f6bf99c 100644 --- a/plugins/GroupPrivateMessage/GroupPrivateMessagePlugin.php +++ b/plugins/GroupPrivateMessage/GroupPrivateMessagePlugin.php @@ -70,11 +70,11 @@ class GroupPrivateMessagePlugin extends Plugin /** * Map URLs to actions * - * @param Net_URL_Mapper $m path-to-action mapper + * @param URLMapper $m path-to-action mapper * * @return boolean hook value */ - function onRouterInitialized($m) + function onRouterInitialized(URLMapper $m) { $m->connect('group/:nickname/inbox', array('action' => 'groupinbox'),