Typing on WebFinger onRouterInitialized handler argument URLMapper $m

This commit is contained in:
Mikael Nordfeldth 2016-08-27 15:00:29 +02:00
parent 3b046ee49d
commit 27022e7c39

View File

@ -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',