From: Mikael Nordfeldth Date: Sat, 27 Aug 2016 13:00:29 +0000 (+0200) Subject: Typing on WebFinger onRouterInitialized handler argument URLMapper $m X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=27022e7c393e7fe6d3824073b84a3ccecb29f5a7;p=quix0rs-gnu-social.git Typing on WebFinger onRouterInitialized handler argument URLMapper $m --- diff --git a/plugins/WebFinger/WebFingerPlugin.php b/plugins/WebFinger/WebFingerPlugin.php index 03a8c140b7..d8ddcb1ce2 100644 --- a/plugins/WebFinger/WebFingerPlugin.php +++ b/plugins/WebFinger/WebFingerPlugin.php @@ -35,7 +35,7 @@ class WebFingerPlugin extends Plugin const OAUTH_REQUEST_TOKEN_REL = 'http://apinamespace.org/oauth/request_token'; const OAUTH_AUTHORIZE_REL = 'http://apinamespace.org/oauth/authorize'; - public function onRouterInitialized($m) + public function onRouterInitialized(URLMapper $m) { $m->connect('.well-known/host-meta', array('action' => 'hostmeta')); $m->connect('.well-known/host-meta.:format',