From 27022e7c393e7fe6d3824073b84a3ccecb29f5a7 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sat, 27 Aug 2016 15:00:29 +0200 Subject: [PATCH] Typing on WebFinger onRouterInitialized handler argument URLMapper $m --- plugins/WebFinger/WebFingerPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', -- 2.39.5