]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Typing on WebFinger onRouterInitialized handler argument URLMapper $m
authorMikael Nordfeldth <mmn@hethane.se>
Sat, 27 Aug 2016 13:00:29 +0000 (15:00 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Sat, 27 Aug 2016 13:00:29 +0000 (15:00 +0200)
plugins/WebFinger/WebFingerPlugin.php

index 03a8c140b74073b07de2832c0fe1b70c0728d630..d8ddcb1ce2c66c93a27ede659947a4923056e1f5 100644 (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',